summaryrefslogtreecommitdiffhomepage
path: root/opentrack/main-window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack/main-window.cpp')
-rw-r--r--opentrack/main-window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack/main-window.cpp b/opentrack/main-window.cpp
index d7e00625..42dfacc4 100644
--- a/opentrack/main-window.cpp
+++ b/opentrack/main-window.cpp
@@ -743,7 +743,7 @@ void main_window::show_options_dialog(bool show)
embed ? pProtocolDialog : empty_IPD,
embed ? pFilterDialog : empty_IFD,
[this](bool flag) { set_keys_enabled(!flag); });
- connect(&*options_widget, &options_dialog::closing, [this] { options_widget = nullptr; });
+ connect(&*options_widget, &options_dialog::closing, this, [this] { options_widget = nullptr; });
if (work)
{