mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
neutrino record: moved some code lines for stop record calls from neutrino.cpp into record.cpp
-use only the exec() call with action key "Stop_record" from record.cpp
-small popup message with short timeout added. This will be show if user has pressed stop button, but no recording is running
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1808 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: c7d7c18a52
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-11-02 (Wed, 02 Nov 2011)
Origin message was:
------------------
*neutrino record: moved some code lines for stop record calls from neutrino.cpp into record.cpp
-use only the exec() call with action key "Stop_record" from record.cpp
-small popup message with short timeout added. This will be show if user has pressed stop button, but no recording is running
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1808 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -1229,7 +1229,14 @@ int CRecordManager::exec(CMenuTarget* parent, const std::string & actionKey )
|
||||
{
|
||||
StartTimeshift();
|
||||
return menu_return::RETURN_EXIT_ALL;
|
||||
}else if(actionKey == "Stop_record")
|
||||
{
|
||||
if(!CRecordManager::getInstance()->RecordingStatus()) {
|
||||
ShowHintUTF(LOCALE_MAINMENU_RECORDING_STOP, g_Locale->getText(LOCALE_RECORDINGMENU_RECORD_IS_NOT_RUNNING), 450, 2);
|
||||
return menu_return::RETURN_EXIT_ALL;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ShowMenu();
|
||||
return menu_return::RETURN_REPAINT;
|
||||
|
Reference in New Issue
Block a user