mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed restarting after installing update via patch
This commit is contained in:
+4
-5
@@ -145,6 +145,10 @@ class UpdateInfoDialog extends AbstractUpdateDialog {
|
||||
private void downloadPatch() {
|
||||
try {
|
||||
UpdateChecker.installPlatformUpdate(myPatch, myLatestBuild.getNumber(), myForceHttps);
|
||||
if (myUpdatedPlugins != null && !myUpdatedPlugins.isEmpty()) {
|
||||
new PluginUpdateInfoDialog(getContentPanel(), myUpdatedPlugins).show();
|
||||
}
|
||||
restart();
|
||||
}
|
||||
catch (IOException e) {
|
||||
Logger.getInstance(UpdateChecker.class).warn(e);
|
||||
@@ -154,11 +158,6 @@ class UpdateInfoDialog extends AbstractUpdateDialog {
|
||||
Messages.getErrorIcon()) == Messages.OK) {
|
||||
openDownloadPage();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if (myUpdatedPlugins != null && !myUpdatedPlugins.isEmpty()) {
|
||||
new PluginUpdateInfoDialog(getContentPanel(), myUpdatedPlugins).show();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user