summaryrefslogtreecommitdiff
path: root/src/wx/rename_template_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-06-08 21:31:20 +0200
committerCarl Hetherington <cth@carlh.net>2020-06-08 21:31:20 +0200
commit1ea8806c7c628cba3cc063200efca10b327356cf (patch)
treea57baebf64f9ee8eb121b6287b9295fe509e97a1 /src/wx/rename_template_dialog.cc
parent63a493f35d014c4dc20dbcb3cdc08de40d2a012c (diff)
Add a bunch of SetFocus calls.
Diffstat (limited to 'src/wx/rename_template_dialog.cc')
-rw-r--r--src/wx/rename_template_dialog.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/rename_template_dialog.cc b/src/wx/rename_template_dialog.cc
index 6651d0923..970c85a8b 100644
--- a/src/wx/rename_template_dialog.cc
+++ b/src/wx/rename_template_dialog.cc
@@ -26,6 +26,8 @@ RenameTemplateDialog::RenameTemplateDialog (wxWindow* parent)
add (_("New name"), true);
_name = add (new wxTextCtrl (this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize (300, -1)));
layout ();
+
+ _name->SetFocus ();
}
wxString