From 30ce32a9f80727b5fc3c500adb34c5b44482b91b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 19 Dec 2021 16:57:47 +0100 Subject: opentrack: make sure start button has focus on startup --- opentrack/main-window.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'opentrack') 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() -- cgit v1.2.3