aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/FbTk/Menu.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bb758e8..7b875bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
1 (Format: Year/Month/Day) 1 (Format: Year/Month/Day)
2Changes for 1.1.2 2Changes for 1.1.2
3
4*09/09/23:
5 * Bugfix: Empty submenus lead to misfunction of the 'HideMenus' command (Mathias)
6 FbTk/Menu.cc
7
3*09/09/12: 8*09/09/12:
4 * Implemented visibility of titlebar buttons via the apps file (Mathias) 9 * Implemented visibility of titlebar buttons via the apps file (Mathias)
5 Window.cc 10 Window.cc
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc
index 4489d0f..ded5dab 100644
--- a/src/FbTk/Menu.cc
+++ b/src/FbTk/Menu.cc
@@ -759,7 +759,7 @@ void Menu::drawSubmenu(unsigned int index) {
759 if (! m_moving) 759 if (! m_moving)
760 clearItem(index); 760 clearItem(index);
761 761
762 if (! item->submenu()->isVisible()) { 762 if (! item->submenu()->isVisible() && item->submenu()->numberOfItems() > 0) {
763 shown = item->submenu(); 763 shown = item->submenu();
764 item->showSubmenu(); 764 item->showSubmenu();
765 item->submenu()->raise(); 765 item->submenu()->raise();