diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-08-22 10:25:28 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-08-22 10:25:28 +0000 |
commit | 7cf707b86e2648f631374e1aceb01b6c4877f5c0 (patch) | |
tree | 9524f8ff59c773578ed9343b26c0d41d064ae78d /plugins | |
parent | 372b5bb9432013bf5a5eca4ab4ad481825003e3f (diff) |
do not re-download all the components when switching from debug repo to stable, dev or custom repos
git-svn-id: http://svn.miranda-ng.org/main/trunk@10285 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/PluginUpdater/src/Options.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/Options.cpp b/plugins/PluginUpdater/src/Options.cpp index d1e8b372b4..e9fab3d60d 100644 --- a/plugins/PluginUpdater/src/Options.cpp +++ b/plugins/PluginUpdater/src/Options.cpp @@ -171,7 +171,11 @@ INT_PTR CALLBACK UpdateNotifyOptsProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPA db_set_dw(NULL, MODNAME, "Period", opts.Period);
mir_forkthread(InitTimer, (void*)1);
-
+
+ if (!IsDlgButtonChecked(hwndDlg, IDC_TRUNK_SYMBOLS)) {
+ opts.bForceRedownload = false;
+ db_unset(NULL, MODNAME, "ForceRedownload");
+ }
if ( IsDlgButtonChecked(hwndDlg, IDC_STABLE))
db_set_b(NULL, MODNAME, "UpdateMode", UPDATE_MODE_STABLE);
else if ( IsDlgButtonChecked(hwndDlg, IDC_TRUNK))
|