mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
*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:
@@ -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"
|
||||
|
Reference in New Issue
Block a user