Set focus to name field in new film dialog (#308).
authorCarl Hetherington <cth@carlh.net>
Mon, 13 Jan 2014 21:44:03 +0000 (21:44 +0000)
committerCarl Hetherington <cth@carlh.net>
Mon, 13 Jan 2014 21:44:03 +0000 (21:44 +0000)
src/wx/new_film_dialog.cc

index be5af999e86ca42861f1b9fd73e8563962037dab..e0ad2c457625d08fd188fb829ac50bc6d0b68f3a 100644 (file)
@@ -67,6 +67,8 @@ NewFilmDialog::NewFilmDialog (wxWindow* parent)
 
        overall_sizer->Layout ();
        overall_sizer->SetSizeHints (this);
+
+       _name->SetFocus ();
 }
 
 NewFilmDialog::~NewFilmDialog ()