From 396be41ab301846a463f07d6db5d4f99717c4a7a Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Fri, 20 Feb 2015 08:55:45 +0100 Subject: [PATCH] CPluginExec: avoid crash when pluginlist is empty --- src/gui/pluginlist.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/pluginlist.cpp b/src/gui/pluginlist.cpp index 544fdcc4d..2e6687724 100644 --- a/src/gui/pluginlist.cpp +++ b/src/gui/pluginlist.cpp @@ -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);