From 8eb07a092b9a9c49854a7c4a109c04d608bed77c Mon Sep 17 00:00:00 2001 From: thilo Date: Tue, 1 Nov 2011 23:42:16 +0000 Subject: [PATCH] *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 --- src/driver/record.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/driver/record.cpp b/src/driver/record.cpp index 8d45f6fc8..837b9e977 100644 --- a/src/driver/record.cpp +++ b/src/driver/record.cpp @@ -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(); }