diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-20 15:44:00 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-20 15:44:00 +0300 |
commit | aced248dbb8820eb8ce72959034c32ccd15bdf31 (patch) | |
tree | 182c11a79dfa9d2cc4207231dca86c639467bbb2 /src | |
parent | c292106f6823e5947041ef8496dbdf8dc6d53211 (diff) |
fix for wrong options' default values
Diffstat (limited to 'src')
-rw-r--r-- | src/core/stdmsg/src/msgoptions.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/stdmsg/src/msgoptions.cpp b/src/core/stdmsg/src/msgoptions.cpp index 553156dd6c..5f0e0823b2 100644 --- a/src/core/stdmsg/src/msgoptions.cpp +++ b/src/core/stdmsg/src/msgoptions.cpp @@ -552,10 +552,10 @@ public: virtual void OnInitDialog() override
{
- m_chkTabs.SetState(db_get_b(0, CHAT_MODULE, "Tabs", 1));
- m_chkTabsBottom.SetState(db_get_b(0, CHAT_MODULE, "TabBottom", 1));
- m_chkTabsClose.SetState(db_get_b(0, CHAT_MODULE, "TabCloseOnDblClick", 1));
- m_chkTabsRestore.SetState(db_get_b(0, CHAT_MODULE, "TabRestore", 1));
+ m_chkTabs.SetState(g_Settings.bTabsEnable);
+ m_chkTabsBottom.SetState(g_Settings.bTabsAtBottom);
+ m_chkTabsClose.SetState(g_Settings.bTabCloseOnDblClick);
+ m_chkTabsRestore.SetState(g_Settings.bTabRestore);
onChange_Tabs(&m_chkTabs);
}
|