CPluginsExec::exec(): don't leave current menu when exiting integrated plugins

Origin commit data
------------------
Commit: cf53191122
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-10-01 (Wed, 01 Oct 2014)

Origin message was:
------------------
- CPluginsExec::exec(): don't leave current menu when exiting integrated plugins
This commit is contained in:
vanhofen
2014-10-01 22:40:06 +02:00
committed by [CST] Focus
parent c55a753e74
commit 107f8e26ad

View File

@@ -374,7 +374,10 @@ int CPluginsExec::exec(CMenuTarget* parent, const std::string & actionKey)
g_PluginList->startPlugin(sel);
}
return menu_return::RETURN_EXIT;
if (g_PluginList->getIntegration(sel) == CPlugins::I_TYPE_DISABLED)
return menu_return::RETURN_EXIT;
return menu_return::RETURN_REPAINT;
}
int CMoviePluginChangeExec::exec(CMenuTarget* parent, const std::string & actionKey)