diff options
-rw-r--r-- | src/fluxbox.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 3907d29..0eea6c2 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -1269,8 +1269,11 @@ static void rec_reconfigMenu(FbTk::Menu *menu) { | |||
1269 | return; | 1269 | return; |
1270 | s_seenMenus.push_back(menu); | 1270 | s_seenMenus.push_back(menu); |
1271 | menu->reconfigure(); | 1271 | menu->reconfigure(); |
1272 | for (size_t i = 0; i < menu->numberOfItems(); ++i) | 1272 | for (size_t i = 0; i < menu->numberOfItems(); ++i) { |
1273 | rec_reconfigMenu(menu->find(i)->submenu()); | 1273 | rec_reconfigMenu(menu->find(i)->submenu()); |
1274 | if (menu->find(i)->submenu() && menu->find(i)->submenu()->isVisible()) | ||
1275 | menu->drawSubmenu(i); | ||
1276 | } | ||
1274 | } | 1277 | } |
1275 | 1278 | ||
1276 | 1279 | ||