summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-19 13:50:17 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-19 13:50:17 +0300
commit653fe3198fbeef168b9d579da8d95ddf73dbb4c8 (patch)
tree6e9202bce29f87af5aba76c080a1b1c833db529a /src
parent89291e38a65fec2d92f761a95e89613804dd1fc1 (diff)
fixes #1368 (Hide dbx_mmap from profile manager)
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/profilemanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mir_app/src/profilemanager.cpp b/src/mir_app/src/profilemanager.cpp
index 47a0474052..f5b6e486d7 100644
--- a/src/mir_app/src/profilemanager.cpp
+++ b/src/mir_app/src/profilemanager.cpp
@@ -149,7 +149,8 @@ public:
}
else {
for (auto &p : arDbPlugins)
- m_driverList.AddString(TranslateW(p->szFullName), (LPARAM)p);
+ if (p->capabilities & MDB_CAPS_CREATE)
+ m_driverList.AddString(TranslateW(p->szFullName), (LPARAM)p);
}
// default item