From c9d1854dd5ea8bf86bc6cb3fc83eac0910ff470f Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Tue, 17 Feb 2015 21:16:17 +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);