summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/Options.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-08-02 15:07:20 +0000
committerRobert Pösel <robyer@seznam.cz>2013-08-02 15:07:20 +0000
commitf43cfc59f5a300a040b19d36f090e4f4816fcbb1 (patch)
tree321638b4185b22cc3cbaac479557dfa3f6308dfd /plugins/PluginUpdater/src/Options.cpp
parent0d29ccd59beb6b7493aaa1a14ef7f6c40b5174df (diff)
PluginUpdater: one fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@5551 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/Options.cpp')
-rw-r--r--plugins/PluginUpdater/src/Options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/Options.cpp b/plugins/PluginUpdater/src/Options.cpp
index 1368f4cbbb..bc5be97382 100644
--- a/plugins/PluginUpdater/src/Options.cpp
+++ b/plugins/PluginUpdater/src/Options.cpp
@@ -142,14 +142,14 @@ INT_PTR CALLBACK UpdateNotifyOptsProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPA
opts.bPeriodMeasure = ComboBox_GetCurSel(GetDlgItem(hwndDlg, IDC_PERIODMEASURE));
- InitTimer();
-
db_set_b(NULL, MODNAME, "UpdateOnStartup", opts.bUpdateOnStartup);
db_set_b(NULL, MODNAME, "OnlyOnceADay", opts.bOnlyOnceADay);
db_set_b(NULL, MODNAME, "UpdateOnPeriod", opts.bUpdateOnPeriod);
db_set_b(NULL, MODNAME, "PeriodMeasure", opts.bPeriodMeasure);
db_set_dw(NULL, MODNAME, "Period", opts.Period);
+ InitTimer(1);
+
if ( IsDlgButtonChecked(hwndDlg, IDC_STABLE))
db_set_s(NULL, MODNAME, "UpdateURL", DEFAULT_UPDATE_URL);
else if ( IsDlgButtonChecked(hwndDlg, IDC_TRUNK))