Focus the timecode control on opening playhead-to-timecode.
[dcpomatic.git] / src / wx / timecode.cc
index 8db6050943caff69504ff09324650251a2fa4282..454614a1b16bf7473a03ded8aebd5b9608ac340f 100644 (file)
@@ -84,6 +84,12 @@ TimecodeBase::TimecodeBase (wxWindow* parent, bool set_button)
        SetSizerAndFit (_sizer);
 }
 
+void
+TimecodeBase::set_focus ()
+{
+       _hours->SetFocus ();
+}
+
 void
 TimecodeBase::clear ()
 {