mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
*neutrino record: if more than one recording is running, set the focus to menu item 'stopp all records'
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1807 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -1300,7 +1300,9 @@ bool CRecordManager::ShowMenu(void)
|
|||||||
iteml = new CMenuForwarder(LOCALE_RECORDINGMENU_MULTIMENU_STOP_ALL, true, NULL,
|
iteml = new CMenuForwarder(LOCALE_RECORDINGMENU_MULTIMENU_STOP_ALL, true, NULL,
|
||||||
this, "StopAll", CRCInput::convertDigitToKey(0));
|
this, "StopAll", CRCInput::convertDigitToKey(0));
|
||||||
iteml->setItemButton(NEUTRINO_ICON_BUTTON_OKAY, true);
|
iteml->setItemButton(NEUTRINO_ICON_BUTTON_OKAY, true);
|
||||||
menu.addItem(iteml, false);
|
|
||||||
|
//if more than one recording is running, set the focus to menu item 'stopp all records'
|
||||||
|
menu.addItem(iteml, rec_count > 1 ? true: false);
|
||||||
}
|
}
|
||||||
mutex.unlock();
|
mutex.unlock();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user