projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a bunch of SetFocus calls.
[dcpomatic.git]
/
src
/
wx
/
rename_template_dialog.cc
diff --git
a/src/wx/rename_template_dialog.cc
b/src/wx/rename_template_dialog.cc
index 6651d09231025af69ae7dd0f3a2fe8f84f7a12a6..970c85a8b0e8d0b243374e0033e0b0dfb6a90228 100644
(file)
--- 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