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