From c0245159f4bfd6ee76e9b659314d89dbe92061cf Mon Sep 17 00:00:00 2001 From: "M. Liebmann" Date: Mon, 3 Mar 2014 08:20:30 +0100 Subject: [PATCH] CPluginList: Supplement to commit cf43a6f (RC_setup for exit all menus) --- src/gui/pluginlist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/pluginlist.cpp b/src/gui/pluginlist.cpp index 2f28c53e2..92af63578 100644 --- a/src/gui/pluginlist.cpp +++ b/src/gui/pluginlist.cpp @@ -116,11 +116,11 @@ int CPluginList::exec(CMenuTarget* parent, const std::string &actionKey) m.addItem(f); } } - m.exec(NULL, ""); + int res = m.exec(NULL, ""); m.hide(); selected = m.getSelected(); - return menu_return::RETURN_REPAINT; + return res; } CPluginChooser::CPluginChooser(const neutrino_locale_t Name, const uint32_t listtype, std::string &selectedFile) : CPluginList(Name, listtype)