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


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8eb07a092b
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-11-02 (Wed, 02 Nov 2011)

Origin message was:
------------------
*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 was generated by Migit
This commit is contained in:
2011-11-01 23:42:16 +00:00
parent 3ceb3c2bb8
commit 4ae9ce9dbd

View File

@@ -1300,7 +1300,9 @@ bool CRecordManager::ShowMenu(void)
iteml = new CMenuForwarder(LOCALE_RECORDINGMENU_MULTIMENU_STOP_ALL, true, NULL,
this, "StopAll", CRCInput::convertDigitToKey(0));
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();
}