Some comments.
[dcpomatic.git] / src / wx / playhead_to_timecode_dialog.cc
index be4ac7dfccc524986f4dd2a5823606c802021305..c622111db52893f225b2fba264165a3e02455b8c 100644 (file)
 
 #include "playhead_to_timecode_dialog.h"
 
+using namespace dcpomatic;
+
 PlayheadToTimecodeDialog::PlayheadToTimecodeDialog (wxWindow* parent, int fps)
        : TableDialog (parent, _("Go to timecode"), 2, 1, true)
        , _fps (fps)
 {
        add (_("Go to"), true);
        _timecode = add (new Timecode<DCPTime> (this, false));
+       _timecode->set_focus ();
 
        layout ();
 }