summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-09-19 16:50:52 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-09-19 16:50:52 +0300
commitecefc7a8138913b71f3fe0107d5258833b7afeb2 (patch)
treeaab84bea492a8ef3e39a6a85bd5a141de83d7f71 /plugins/PluginUpdater
parentf10190b71550e7129e6b3ac163fc39f8c1349ffa (diff)
fixes #2070 (Plugin Updater doesn't start update after switching url to custom)
Diffstat (limited to 'plugins/PluginUpdater')
-rw-r--r--plugins/PluginUpdater/src/Options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/Options.cpp b/plugins/PluginUpdater/src/Options.cpp
index acee0c5a49..637ec634e3 100644
--- a/plugins/PluginUpdater/src/Options.cpp
+++ b/plugins/PluginUpdater/src/Options.cpp
@@ -333,7 +333,7 @@ static INT_PTR CALLBACK UpdateNotifyOptsProc(HWND hwndDlg, UINT msg, WPARAM wPar
GetDlgItemText(hwndDlg, IDC_CUSTOMURL, tszUrl, _countof(tszUrl));
g_plugin.setWString(DB_SETTING_UPDATE_URL, tszUrl);
g_plugin.setByte(DB_SETTING_UPDATE_MODE, UPDATE_MODE_CUSTOM);
- g_plugin.bForceRedownload = 0;
+ g_plugin.bForceRedownload = true;
g_plugin.delSetting(DB_SETTING_REDOWNLOAD);
}