summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/menu_options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/menu_options.cpp b/src/mir_app/src/menu_options.cpp
index 97f946b873..8501dcfe68 100644
--- a/src/mir_app/src/menu_options.cpp
+++ b/src/mir_app/src/menu_options.cpp
@@ -510,7 +510,7 @@ public:
m_customName.SetText(iod->name);
- if (iod->pimi->submenu.first == NULL && !equalUUID(iod->pimi->mi.uid, miid_last)) {
+ if (!equalUUID(iod->pimi->mi.uid, miid_last)) {
char szText[100];
bin2hex(&iod->pimi->mi.uid, sizeof(iod->pimi->mi.uid), szText);
m_service.SetTextA(szText);