summaryrefslogtreecommitdiff
path: root/plugins/ProfileManager/src/pmanagerEx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ProfileManager/src/pmanagerEx.cpp')
-rw-r--r--plugins/ProfileManager/src/pmanagerEx.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/ProfileManager/src/pmanagerEx.cpp b/plugins/ProfileManager/src/pmanagerEx.cpp
index 0db2b21155..5bf54d964f 100644
--- a/plugins/ProfileManager/src/pmanagerEx.cpp
+++ b/plugins/ProfileManager/src/pmanagerEx.cpp
@@ -99,6 +99,8 @@ static int OnModulesLoaded(WPARAM, LPARAM)
mi.pszPopupName = LPGEN("Database");
for (int i = 0; i < SIZEOF(iconList); i++) {
+ if (i == 2 && !ServiceExists(MS_DB_CHECKPROFILE))
+ continue;
mi.pszName = iconList[i].szDescr;
mi.pszService = iconList[i].szName;
mi.icolibItem = iconList[i].hIcolib;