mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
suggest to restart IDEA if user accepted to enable/disable plugins from startup notification (IDEA-121369)
This commit is contained in:
@@ -178,6 +178,8 @@ public class PluginManager extends PluginManagerCore {
|
||||
|
||||
myPlugins2Enable = null;
|
||||
myPlugins2Disable = null;
|
||||
|
||||
PluginManagerMain.notifyPluginsWereUpdated("Changes were applied", null);
|
||||
}
|
||||
}));
|
||||
myPluginError = null;
|
||||
|
||||
@@ -628,7 +628,7 @@ public abstract class PluginManagerMain implements Disposable {
|
||||
: "Plugins were installed", project);
|
||||
}
|
||||
|
||||
public static void notifyPluginsWereUpdated(final String title, final Project project) {
|
||||
public static void notifyPluginsWereUpdated(final String title, @Nullable final Project project) {
|
||||
final ApplicationEx app = ApplicationManagerEx.getApplicationEx();
|
||||
final boolean restartCapable = app.isRestartCapable();
|
||||
String message =
|
||||
|
||||
Reference in New Issue
Block a user