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

This commit is contained in:
M. Liebmann
2014-03-03 08:20:30 +01:00
parent 409df1b809
commit c0245159f4

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)