Minor changes.
This commit is contained in:
+4
-1
@@ -197,6 +197,9 @@ public class ConfigureKotlinLibraryNotificationProvider implements EditorNotific
|
|||||||
model.addLibraryEntry(library);
|
model.addLibraryEntry(library);
|
||||||
model.commit();
|
model.commit();
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
model.dispose();
|
||||||
|
}
|
||||||
updateNotifications();
|
updateNotifications();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -204,7 +207,7 @@ public class ConfigureKotlinLibraryNotificationProvider implements EditorNotific
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void updateNotifications() {
|
private void updateNotifications() {
|
||||||
SwingUtilities.invokeLater(new Runnable() {
|
ApplicationManager.getApplication().invokeLater(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
EditorNotifications.getInstance(myProject).updateAllNotifications();
|
EditorNotifications.getInstance(myProject).updateAllNotifications();
|
||||||
|
|||||||
Reference in New Issue
Block a user