Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
vczh committed Jan 18, 2023
1 parent ed16087 commit 2367027
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ namespace demo
}

textBox->Select(begin, end);
textBox->SetFocus();
textBox->SetFocused();
return true;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ namespace demo
stream::StreamReader reader(decoderStream);
textBox->SetText(reader.ReadToEnd());
textBox->Select(TextPos(), TextPos());
textBox->SetFocus();
textBox->SetFocused();
textBox->ClearUndoRedo();

fileName = dialogOpen->GetFileName();
Expand Down

0 comments on commit 2367027

Please sign in to comment.