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/core/stdautoaway | |
parent | 73c62ca9fc13c48a7768136279f0d70ac478c04b (diff) |
fixes #1825 (spin control initialization should be done in the constructor, not inside OnInitDialog)
Diffstat (limited to 'src/core/stdautoaway')
-rw-r--r-- | src/core/stdautoaway/src/options.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/stdautoaway/src/options.cpp b/src/core/stdautoaway/src/options.cpp index 33c9a25713..ad04fdb3a3 100644 --- a/src/core/stdautoaway/src/options.cpp +++ b/src/core/stdautoaway/src/options.cpp @@ -59,7 +59,7 @@ public: COptionsDlg() : CDlgBase(g_plugin, IDD_OPT_IDLE), edt1sttime(this, IDC_IDLE1STTIME), - spinIdle(this, IDC_IDLESPIN), + spinIdle(this, IDC_IDLESPIN, 60, 1), cmbAAStatus(this, IDC_AASTATUS), chkShort(this, IDC_IDLESHORT), chkLocked(this, IDC_LOCKED), @@ -91,7 +91,6 @@ public: { chkOnWindows.SetState(!g_plugin.bIdleMethod); - spinIdle.SetRange(60, 1); spinIdle.SetPosition(g_plugin.iIdleTime1st); for (auto &it : aa_Status) |