diff options
author | George Hazan <ghazan@miranda.im> | 2019-02-05 13:39:25 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-02-05 13:39:25 +0300 |
commit | 563aac340768af4f96fd74a3246098cc3bdf47e0 (patch) | |
tree | 1b5493871936484788b3767d6a3c32066e47b4d5 /src/mir_app | |
parent | 73c62ca9fc13c48a7768136279f0d70ac478c04b (diff) |
fixes #1825 (spin control initialization should be done in the constructor, not inside OnInitDialog)
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/srmm_toolbar.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mir_app/src/srmm_toolbar.cpp b/src/mir_app/src/srmm_toolbar.cpp index 8c125492dd..7b47a9afbe 100644 --- a/src/mir_app/src/srmm_toolbar.cpp +++ b/src/mir_app/src/srmm_toolbar.cpp @@ -602,7 +602,7 @@ class CSrmmToolbarOptions : public CDlgBase public: CSrmmToolbarOptions() : CDlgBase(g_plugin, IDD_OPT_TOOLBAR), - m_gap(this, IDC_SPIN1), + m_gap(this, IDC_SPIN1, 10), m_btnIM(this, IDC_IMCHECK), m_btnChat(this, IDC_CHATCHECK), m_toolBar(this, IDC_TOOLBARTREE), @@ -628,7 +628,6 @@ public: m_btnChat.Disable(); m_btnHidden.Disable(); - m_gap.SetRange(10); m_gap.SetPosition(db_get_b(0, BB_MODULE_NAME, "ButtonsBarGap", 1)); return true; } |