summaryrefslogtreecommitdiffhomepage
path: root/variant
diff options
context:
space:
mode:
Diffstat (limited to 'variant')
-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);
}