CPluginList: Supplement to commit e6743c8 (RC_setup for exit all menus)

Origin commit data
------------------
Commit: c0245159f4
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-03-03 (Mon, 03 Mar 2014)
This commit is contained in:
Michael Liebmann
2014-03-03 08:20:30 +01:00
parent 75b3fe663e
commit 81dff173fe

View File

@@ -116,11 +116,11 @@ int CPluginList::exec(CMenuTarget* parent, const std::string &actionKey)
m.addItem(f); m.addItem(f);
} }
} }
m.exec(NULL, ""); int res = m.exec(NULL, "");
m.hide(); m.hide();
selected = m.getSelected(); 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) CPluginChooser::CPluginChooser(const neutrino_locale_t Name, const uint32_t listtype, std::string &selectedFile) : CPluginList(Name, listtype)