diff options
author | George Hazan <george.hazan@gmail.com> | 2015-12-14 18:33:01 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-12-14 18:33:01 +0000 |
commit | 8b1ee12edf10cae495a256d82bf1a6663f945c76 (patch) | |
tree | 7606d625f5749b8d0a0013f8d171858f3e8ecef5 /src | |
parent | 19b447116d804f94159be65d7e7e5039a990a1c2 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/menu_options.cpp | 2 |
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); |