From 2989938f0e93ccec043758a150bbe86d766fa238 Mon Sep 17 00:00:00 2001 From: satbaby Date: Fri, 25 Feb 2011 07:01:52 +0000 Subject: [PATCH] -fix select in usermenu git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1200 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/neutrino_menue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/neutrino_menue.cpp b/src/neutrino_menue.cpp index a6c9a6082..e7487d683 100644 --- a/src/neutrino_menue.cpp +++ b/src/neutrino_menue.cpp @@ -1266,6 +1266,7 @@ bool CNeutrinoApp::showUserMenu(int button) CMenuWidget *menu = new CMenuWidget(txt.c_str() , NEUTRINO_ICON_FEATURES); if (menu == NULL) return 0; + menu->setSelected(selected[button]); menu->addItem(GenericMenuSeparator); // go through any postition number @@ -1514,7 +1515,6 @@ bool CNeutrinoApp::showUserMenu(int button) // show menu if there are more than 2 items only // otherwise, we start the item directly (must be the last one) if (menu_items > 1 ) { - menu->setSelected(selected[button]); menu->exec(NULL,""); selected[button] = menu->getSelected(); }