From bbad6b48d456d1d8fd10e69e493771988e24062a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 6 Feb 2019 13:13:56 +0300 Subject: we don't load contact lists dynamically --- src/mir_app/src/pluginopts.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/mir_app') 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) { -- cgit v1.2.3