diff options
Diffstat (limited to 'proto-ft/ftnoir_protocol_ft.cpp')
-rwxr-xr-x | proto-ft/ftnoir_protocol_ft.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.cpp b/proto-ft/ftnoir_protocol_ft.cpp index 134ffc53..121da494 100755 --- a/proto-ft/ftnoir_protocol_ft.cpp +++ b/proto-ft/ftnoir_protocol_ft.cpp @@ -16,6 +16,10 @@ FTNoIR_Protocol::FTNoIR_Protocol() : viewsStop(nullptr), intGameID(0) { + runonce_check->set_enabled(s.close_protocols_on_exit); + QObject::connect(&s.close_protocols_on_exit, + static_cast<void (base_value::*)(bool)>(&value<bool>::valueChanged), + [] (bool flag) -> void { runonce_check->set_enabled(flag); }); runonce_check->try_runonce(); } |