Merge remote-tracking branch 'origin/master' into prendota/plugin-manager-new-protocol
[idea/community.git] / platform / platform-impl / src / com / intellij / openapi / updateSettings / impl / PluginDownloader.java
index 19b979ded8e189c988d0ec163f339b2b7016779d..2717c216b44e2c688b93ccaf0e7dc8f1c0093960 100644 (file)
@@ -227,6 +227,9 @@ public final class PluginDownloader {
     if (state != null) {
       state.onPluginInstall(myDescriptor, PluginManagerCore.isPluginInstalled(myDescriptor.getPluginId()), true);
     }
+    else {
+      InstalledPluginsState.addPreInstalledPlugin(myDescriptor);
+    }
   }
 
   public boolean tryInstallWithoutRestart(@Nullable JComponent ownerComponent) {