diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-29 22:03:37 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-29 22:14:25 +0200 |
| commit | 48c75fff036cb6960fc4c86317231914588a668d (patch) | |
| tree | 8c28c39d1a985cb27aa3c2a80a2a0b394013c83b /src/wx/playhead_to_timecode_dialog.cc | |
| parent | fc18b92ca1cc8d7ec975fddc507fb97aacc6d17f (diff) | |
Add hinting to the seek dialogue; may be a nice fix for #1736.
Diffstat (limited to 'src/wx/playhead_to_timecode_dialog.cc')
| -rw-r--r-- | src/wx/playhead_to_timecode_dialog.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wx/playhead_to_timecode_dialog.cc b/src/wx/playhead_to_timecode_dialog.cc index c622111db..dda742fbc 100644 --- a/src/wx/playhead_to_timecode_dialog.cc +++ b/src/wx/playhead_to_timecode_dialog.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2016 Carl Hetherington <cth@carlh.net> + Copyright (C) 2016-2020 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -22,13 +22,14 @@ using namespace dcpomatic; -PlayheadToTimecodeDialog::PlayheadToTimecodeDialog (wxWindow* parent, int fps) +PlayheadToTimecodeDialog::PlayheadToTimecodeDialog (wxWindow* parent, dcpomatic::DCPTime time, 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 (); + _timecode->set_hint (time, fps); layout (); } |
