mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
record: show record-menu after no-records-hint; ...
It makes no sense to show the menu only if records are running.
There are items to start record and timeshift.
Origin commit data
------------------
Commit: df96507e42
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-07-29 (Sun, 29 Jul 2018)
Origin message was:
------------------
- record: show record-menu after no-records-hint; ...
It makes no sense to show the menu only if records are running.
There are items to start record and timeshift.
This commit is contained in:
@@ -1518,9 +1518,10 @@ int CRecordManager::exec(CMenuTarget* parent, const std::string & actionKey )
|
||||
return menu_return::RETURN_EXIT_ALL;
|
||||
} else if(actionKey == "Stop_record")
|
||||
{
|
||||
if(!CRecordManager::getInstance()->RecordingStatus()) {
|
||||
ShowHint(LOCALE_MAINMENU_RECORDING_STOP, g_Locale->getText(LOCALE_RECORDINGMENU_RECORD_IS_NOT_RUNNING), 450, 2);
|
||||
return menu_return::RETURN_EXIT_ALL;
|
||||
if (!CRecordManager::getInstance()->RecordingStatus())
|
||||
{
|
||||
ShowHint(LOCALE_MAINMENU_RECORDING_STOP, LOCALE_RECORDINGMENU_RECORD_IS_NOT_RUNNING, 450, 2);
|
||||
//return menu_return::RETURN_EXIT_ALL;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user