From 8b1ee12edf10cae495a256d82bf1a6663f945c76 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 14 Dec 2015 18:33:01 +0000 Subject: the ability to insert submenus into submenus temporarily suspended git-svn-id: http://svn.miranda-ng.org/main/trunk@15861 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/mir_app/src/menu_options.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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); -- cgit v1.2.3