summaryrefslogtreecommitdiffhomepage
path: root/variant/default/main-window.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-02-18 10:38:38 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-02-18 10:38:38 +0100
commit10e3c3b9ed00b3502ac69ae55aa0e3b375dbe4cc (patch)
treea8b06e81916e99ff31135062d047c255e50e505d /variant/default/main-window.cpp
parentcefb6e20c2e0ed55a0951ba37ffb8bdd475c420e (diff)
opentrack: add commentopentrack-2.3.49-plus
Diffstat (limited to 'variant/default/main-window.cpp')
-rw-r--r--variant/default/main-window.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/variant/default/main-window.cpp b/variant/default/main-window.cpp
index af9c6de2..9df36a7d 100644
--- a/variant/default/main-window.cpp
+++ b/variant/default/main-window.cpp
@@ -684,6 +684,9 @@ void main_window::show_options_dialog()
{
if (mk_window(options_widget, [&](bool flag) { set_keys_enabled(!flag); }))
{
+ // XXX this should logically connect to a bundle
+ // also doesn't work when switching profiles with options dialog open
+ // move shortcuts to a separate bundle and add a migration -sh 20180218
connect(options_widget.get(), &options_dialog::closing,
this, &main_window::register_shortcuts);
}