From c1b99aba0e6a30f9f1563cc4db28879225ce49b8 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Fri, 29 Mar 2013 17:21:07 -0700 Subject: [PATCH] Select the contents of the find box when opening the search/replace dialog --- aegisub/src/dialog_search_replace.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/aegisub/src/dialog_search_replace.cpp b/aegisub/src/dialog_search_replace.cpp index 4573af8c7..580752963 100644 --- a/aegisub/src/dialog_search_replace.cpp +++ b/aegisub/src/dialog_search_replace.cpp @@ -180,5 +180,6 @@ void DialogSearchReplace::Show(agi::Context *context, bool replace) { diag = new DialogSearchReplace(context, replace); diag->find_edit->SetFocus(); + diag->find_edit->SelectAll(); diag->wxDialog::Show(); }