plugins advertise: download plugin if it was not explicitly disabled (IDEA-117003)

(cherry picked from commit f739564c0fb744ef8b819f2df4011a9eaeb00685)
This commit is contained in:
anna
2013-11-28 12:21:40 +01:00
parent ca248d8e4d
commit b9ee30c79b
@@ -80,8 +80,7 @@ public class PluginsAdvertiserDialog extends DialogWrapper {
String pluginId = downloader.getPluginId();
if (!mySkippedPlugins.contains(pluginId)) {
pluginsToEnable.add(pluginId);
final IdeaPluginDescriptor descriptor = PluginManager.getPlugin(PluginId.getId(pluginId));
if (descriptor == null) {
if (!PluginManagerCore.getDisabledPlugins().contains(pluginId)) {
final PluginNode pluginNode = PluginDownloader.createPluginNode(null, downloader);
if (pluginNode != null) {
nodes.add(pluginNode);