diff options
Diffstat (limited to 'src/MenuCreator.cc')
-rw-r--r-- | src/MenuCreator.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/MenuCreator.cc b/src/MenuCreator.cc index bea6d57..f920321 100644 --- a/src/MenuCreator.cc +++ b/src/MenuCreator.cc | |||
@@ -188,7 +188,6 @@ 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); | ||
192 | } else if (str_key == "icons") { | 191 | } else if (str_key == "icons") { |
193 | FbTk::Menu *submenu = MenuCreator::createMenuType("iconmenu", menu.screenNumber()); | 192 | FbTk::Menu *submenu = MenuCreator::createMenuType("iconmenu", menu.screenNumber()); |
194 | if (submenu == 0) | 193 | if (submenu == 0) |