X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fplayhead_to_frame_dialog.cc;h=4c8bc1cc6ede06f9ca03014808684517dfb68743;hb=5f4a41f20a189ec2863760cd1f5117435277f40f;hp=137be60ae7c0c8e96134e54cae47c9d98f87233d;hpb=b81241ce69a689629307832f802ac4faa6ed885f;p=dcpomatic.git diff --git a/src/wx/playhead_to_frame_dialog.cc b/src/wx/playhead_to_frame_dialog.cc index 137be60ae..4c8bc1cc6 100644 --- a/src/wx/playhead_to_frame_dialog.cc +++ b/src/wx/playhead_to_frame_dialog.cc @@ -22,6 +22,7 @@ #include using dcp::locale_convert; +using namespace dcpomatic; PlayheadToFrameDialog::PlayheadToFrameDialog (wxWindow* parent, int fps) : TableDialog (parent, _("Go to frame"), 2, 1, true) @@ -29,6 +30,7 @@ PlayheadToFrameDialog::PlayheadToFrameDialog (wxWindow* parent, int fps) { add (_("Go to"), true); _frame = add (new wxTextCtrl (this, wxID_ANY, wxT (""))); + _frame->SetFocus (); layout (); }