summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-02-06 13:13:56 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-02-06 13:14:06 +0300
commitbbad6b48d456d1d8fd10e69e493771988e24062a (patch)
treeac297982bfb2477862a8f5768d03adc8273a03c1 /src/mir_app
parentd042071e2926aed6f03b1e1d85d202d0be84c264 (diff)
we don't load contact lists dynamically
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/pluginopts.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mir_app/src/pluginopts.cpp b/src/mir_app/src/pluginopts.cpp
index fb6cbf4318..570a60d2d3 100644
--- a/src/mir_app/src/pluginopts.cpp
+++ b/src/mir_app/src/pluginopts.cpp
@@ -139,8 +139,10 @@ static BOOL dialogListPlugins(WIN32_FIND_DATA *fd, wchar_t *path, WPARAM, LPARAM
ListView_SetItemState(hwndList, iRow, 0x3000, LVIS_STATEIMAGEMASK);
}
else if (isPluginOnWhiteList(fd->cFileName)) {
- dat->bWasChecked = true;
- ListView_SetItemState(hwndList, iRow, 0x2000, LVIS_STATEIMAGEMASK);
+ if (!dat->bRequiresRestart)
+ dat->bWasChecked = true;
+ if (hInst)
+ ListView_SetItemState(hwndList, iRow, 0x2000, LVIS_STATEIMAGEMASK);
}
if (iRow != -1) {