diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-12-19 16:57:47 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-12-19 16:57:47 +0100 |
commit | 30ce32a9f80727b5fc3c500adb34c5b44482b91b (patch) | |
tree | b80d505f87152b99a26a50485de3270663a41047 /opentrack | |
parent | 7edc2c3950c708f06e4d6435872ff329fdd35e14 (diff) |
opentrack: make sure start button has focus on startup
Diffstat (limited to 'opentrack')
-rw-r--r-- | opentrack/main-window.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/opentrack/main-window.cpp b/opentrack/main-window.cpp index e81299d7..be585a4e 100644 --- a/opentrack/main-window.cpp +++ b/opentrack/main-window.cpp @@ -57,6 +57,8 @@ main_window::main_window() : State(OPENTRACK_BASE_PATH + OPENTRACK_LIBRARY_PATH) det_timer.start(1000); connect(&*s.b, &options::bundle_::reloading, this, &main_window::register_shortcuts); connect(&*s.b, &options::bundle_::saving, this, &main_window::register_shortcuts); + + ui.btnStartTracker->setFocus(); } void main_window::init_shortcuts() |