summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-01-26 01:58:25 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-01-26 01:58:25 +0100
commitf5f3bd69fa64834b555ec8e224271756f017527e (patch)
tree21e35e45dc9d5747301f8dd875189a3df6a19295 /opentrack
parent38aee2a224a198e2f1144e5c71039fd17f317c78 (diff)
opentrack: fix crash on exit
Diffstat (limited to 'opentrack')
-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)
{