projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Focus the timecode control on opening playhead-to-timecode.
[dcpomatic.git]
/
src
/
wx
/
timecode.cc
diff --git
a/src/wx/timecode.cc
b/src/wx/timecode.cc
index 8db6050943caff69504ff09324650251a2fa4282..454614a1b16bf7473a03ded8aebd5b9608ac340f 100644
(file)
--- a/
src/wx/timecode.cc
+++ b/
src/wx/timecode.cc
@@
-84,6
+84,12
@@
TimecodeBase::TimecodeBase (wxWindow* parent, bool set_button)
SetSizerAndFit (_sizer);
}
+void
+TimecodeBase::set_focus ()
+{
+ _hours->SetFocus ();
+}
+
void
TimecodeBase::clear ()
{