From ac098b4d0f0640b2997ff674a5c1b3447b6ba09a Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sun, 7 May 2006 09:54:55 +0000 Subject: removed duplicate setItemEnabled --- src/MenuCreator.cc | 1 - 1 file changed, 1 deletion(-) 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) { } else if (str_key == "nop") { int menuSize = menu.insert(str_label.c_str()); menu.setItemEnabled(menuSize-1, false); - menu.setItemEnabled(menuSize-1, false); } else if (str_key == "icons") { FbTk::Menu *submenu = MenuCreator::createMenuType("iconmenu", menu.screenNumber()); if (submenu == 0) -- cgit v0.11.2