diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-20 11:26:11 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-20 11:26:11 +0300 |
commit | 470d175efcf15eaa110f55b2834dadc5cce9176e (patch) | |
tree | c4b6bc363835a496aeb662c1a84c8fe01a19b457 /src/core | |
parent | cdab271a8322deed2f4e590718ce8f5b5c70a4eb (diff) |
fixes #1290
Diffstat (limited to 'src/core')
-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();
|