SPARK-1888: Uninstall a plugin when the GUI instructs so.

This is a fix to what I assume to be a bug. The method, used by the UI part where plugins are managed,
is documented as 'remove and uninstall' a plugin. It only removed, but did not uninstall. I've fixed that
with this commit.
This commit is contained in:
Guus der Kinderen
2017-07-28 18:13:11 +02:00
parent d19aca5358
commit eeef5cbf30

View File

@ -1027,6 +1027,7 @@ public class PluginManager implements MainWindowListener
{
if ( plugin.getName().equals( publicPlugin.getName() ) )
{
uninstall( plugin.getPluginDir() );
publicPlugins.remove( plugin );
}
}