mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
CPluginExec: avoid crash when pluginlist is empty
This commit is contained in:
committed by
svenhoefer
parent
13d7ec55a5
commit
396be41ab3
@@ -162,6 +162,7 @@ int CPluginsExec::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
if (actionKey == "teletext") {
|
||||
g_RCInput->postMsg(CRCInput::RC_timeout, 0);
|
||||
g_RCInput->postMsg(CRCInput::RC_text, 0);
|
||||
return menu_return::RETURN_EXIT;
|
||||
}
|
||||
else if (sel >= 0)
|
||||
g_PluginList->startPlugin(sel);
|
||||
|
Reference in New Issue
Block a user