aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Menu.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/Menu.cc')
-rw-r--r--src/FbTk/Menu.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc
index ec60b24..4bdc597 100644
--- a/src/FbTk/Menu.cc
+++ b/src/FbTk/Menu.cc
@@ -1136,7 +1136,7 @@ void Menu::openSubmenu() {
1136 1136
1137 int item = m_active_index; 1137 int item = m_active_index;
1138 if (!isVisible() || !validIndex(item) || !menuitems[item]->isEnabled() || 1138 if (!isVisible() || !validIndex(item) || !menuitems[item]->isEnabled() ||
1139 s_focused != this && s_focused && s_focused->isVisible()) 1139 (s_focused != this && s_focused && s_focused->isVisible()))
1140 return; 1140 return;
1141 1141
1142 clearItem(item); 1142 clearItem(item);