summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mir_app/src/menu_options.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mir_app/src/menu_options.cpp b/src/mir_app/src/menu_options.cpp
index 0e9cfabc4f..97f946b873 100644
--- a/src/mir_app/src/menu_options.cpp
+++ b/src/mir_app/src/menu_options.cpp
@@ -488,6 +488,7 @@ public:
m_customName.SetTextA("");
m_service.SetTextA("");
+ m_btnInsMenu.Enable(false);
m_btnDefault.Enable(false);
m_btnSet.Enable(false);
m_customName.Enable(false);
@@ -515,6 +516,7 @@ public:
m_service.SetTextA(szText);
}
+ m_btnInsMenu.Enable(iod->pimi->mi.root == NULL);
m_btnDefault.Enable(mir_tstrcmp(iod->name, iod->defname) != 0);
m_btnSet.Enable(true);
m_customName.Enable(true);