Select the contents of the find box when opening the search/replace dialog

This commit is contained in:
Thomas Goyne 2013-03-29 17:21:07 -07:00
parent de68a1995d
commit c1b99aba0e

View file

@ -180,5 +180,6 @@ void DialogSearchReplace::Show(agi::Context *context, bool replace) {
diag = new DialogSearchReplace(context, replace); diag = new DialogSearchReplace(context, replace);
diag->find_edit->SetFocus(); diag->find_edit->SetFocus();
diag->find_edit->SelectAll();
diag->wxDialog::Show(); diag->wxDialog::Show();
} }