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

Origin commit data
------------------
Branch: ni/coolstream
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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2014-10-01 22:40:06 +02:00
committed by [CST] Focus
parent 3319ab2d1d
commit 806da764fd

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)