Minor changes.

This commit is contained in:
Evgeny Gerashchenko
2012-07-22 22:11:45 +04:00
parent 1d2e80b157
commit c2024b68e6
@@ -197,6 +197,9 @@ public class ConfigureKotlinLibraryNotificationProvider implements EditorNotific
model.addLibraryEntry(library);
model.commit();
}
else {
model.dispose();
}
updateNotifications();
}
}
@@ -204,7 +207,7 @@ public class ConfigureKotlinLibraryNotificationProvider implements EditorNotific
}
private void updateNotifications() {
SwingUtilities.invokeLater(new Runnable() {
ApplicationManager.getApplication().invokeLater(new Runnable() {
@Override
public void run() {
EditorNotifications.getInstance(myProject).updateAllNotifications();