mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +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
Origin commit data
------------------
Commit: 038411e75c
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-11-02 (Wed, 02 Nov 2011)
Origin message was:
------------------
*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