*neutrino record: if only one recording is running, set the focus to this menu item

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1806 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
thilo
2011-11-01 23:42:08 +00:00
parent e962dabfed
commit 038411e75c

View File

@@ -1289,7 +1289,9 @@ bool CRecordManager::ShowMenu(void)
item = new CMenuForwarderNonLocalized(title.c_str(), true, NULL,
selector, cnt, CRCInput::convertDigitToKey((rec_count == 1) ? 0 : shortcut++), NULL, mode_icon);
item->setItemButton(NEUTRINO_ICON_BUTTON_OKAY, true);
menu.addItem(item, false);
//if only one recording is running, set the focus to this menu item
menu.addItem(item, rec_count == 1 ? true: false);
i++;
}
if(i > 1) //menu item "stopp all records"