summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-15 12:17:01 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-15 12:17:01 +0300
commitcdfee30cb545e43dac6d44ac6aab60859aefe5aa (patch)
tree1d59d3e4498f442cc83a7a904b608f683aae1b96 /src/mir_app
parent1367800be694910743784d11b9103386707308ff (diff)
fixes #1266 (Bug with disabled dbx_mmap)
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/pluginopts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/pluginopts.cpp b/src/mir_app/src/pluginopts.cpp
index c1f8152037..4c66d17033 100644
--- a/src/mir_app/src/pluginopts.cpp
+++ b/src/mir_app/src/pluginopts.cpp
@@ -101,7 +101,7 @@ static BOOL dialogListPlugins(WIN32_FIND_DATA *fd, wchar_t *path, WPARAM, LPARAM
it.lParam = (LPARAM)dat;
int iRow = ListView_InsertItem(hwndList, &it);
- if (isPluginOnWhiteList(fd->cFileName))
+ if (bNoCheckbox || isPluginOnWhiteList(fd->cFileName))
ListView_SetItemState(hwndList, iRow, bNoCheckbox ? 0x3000 : 0x2000, LVIS_STATEIMAGEMASK);
if (iRow != -1) {