diff options
Diffstat (limited to 'gui/main-window.cpp')
-rw-r--r-- | gui/main-window.cpp | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/gui/main-window.cpp b/gui/main-window.cpp index 046c6a44..d48e0b44 100644 --- a/gui/main-window.cpp +++ b/gui/main-window.cpp @@ -233,10 +233,17 @@ void MainWindow::register_shortcuts() t_keys keys { - t_key(s.key_start_tracking, [&](bool) -> void { emit_start_tracker(); }, true), - t_key(s.key_stop_tracking, [&](bool) -> void { emit_stop_tracker(); }, true), - t_key(s.key_toggle_tracking, [&](bool) -> void { emit_toggle_tracker(); }, true), - t_key(s.key_restart_tracking, [&](bool) -> void { emit_restart_tracker(); }, true), + t_key(s.key_start_tracking1, [&](bool) -> void { emit_start_tracker(); }, true), + t_key(s.key_start_tracking2, [&](bool) -> void { emit_start_tracker(); }, true), + + t_key(s.key_stop_tracking1, [&](bool) -> void { emit_stop_tracker(); }, true), + t_key(s.key_stop_tracking2, [&](bool) -> void { emit_stop_tracker(); }, true), + + t_key(s.key_toggle_tracking1, [&](bool) -> void { emit_toggle_tracker(); }, true), + t_key(s.key_toggle_tracking2, [&](bool) -> void { emit_toggle_tracker(); }, true), + + t_key(s.key_restart_tracking1, [&](bool) -> void { emit_restart_tracker(); }, true), + t_key(s.key_restart_tracking2, [&](bool) -> void { emit_restart_tracker(); }, true), }; global_shortcuts.reload(keys); |