Add a bunch of SetFocus calls.
[dcpomatic.git] / src / wx / rename_template_dialog.cc
index 6651d09231025af69ae7dd0f3a2fe8f84f7a12a6..970c85a8b0e8d0b243374e0033e0b0dfb6a90228 100644 (file)
@@ -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