diff options
-rw-r--r-- | src/core/stdmsg/src/msgoptions.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/stdmsg/src/msgoptions.cpp b/src/core/stdmsg/src/msgoptions.cpp index 0c8bbf0e74..d3e42b2ac1 100644 --- a/src/core/stdmsg/src/msgoptions.cpp +++ b/src/core/stdmsg/src/msgoptions.cpp @@ -571,7 +571,8 @@ public: pci->ReloadSettings();
if (bOldValue != db_get_b(0, CHAT_MODULE, "Tabs", 1)) {
- pci->SM_BroadcastMessage(nullptr, WM_CLOSE, 0, 1, FALSE);
+ if (pDialog != nullptr)
+ pDialog->Close();
g_Settings.bTabsEnable = db_get_b(0, CHAT_MODULE, "Tabs", 1) != 0;
}
else Chat_UpdateOptions();
|