diff options
Diffstat (limited to 'src/MenuCreator.cc')
-rw-r--r-- | src/MenuCreator.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/MenuCreator.cc b/src/MenuCreator.cc index f920321..bea6d57 100644 --- a/src/MenuCreator.cc +++ b/src/MenuCreator.cc | |||
@@ -188,6 +188,7 @@ static void translateMenuItem(Parser &parse, ParseItem &pitem) { | |||
188 | } else if (str_key == "nop") { | 188 | } else if (str_key == "nop") { |
189 | int menuSize = menu.insert(str_label.c_str()); | 189 | int menuSize = menu.insert(str_label.c_str()); |
190 | menu.setItemEnabled(menuSize-1, false); | 190 | menu.setItemEnabled(menuSize-1, false); |
191 | menu.setItemEnabled(menuSize-1, false); | ||
191 | } else if (str_key == "icons") { | 192 | } else if (str_key == "icons") { |
192 | FbTk::Menu *submenu = MenuCreator::createMenuType("iconmenu", menu.screenNumber()); | 193 | FbTk::Menu *submenu = MenuCreator::createMenuType("iconmenu", menu.screenNumber()); |
193 | if (submenu == 0) | 194 | if (submenu == 0) |