mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-59245: Project library creating from Module Dependencies page fails
This commit is contained in:
+1
-1
@@ -103,7 +103,7 @@ public class LibrariesModifiableModel implements LibraryTable.ModifiableModel {
|
||||
libraryEditor.commit(); // TODO: is seems like commit will recreate the editor, but it should not
|
||||
Disposer.dispose(libraryEditor);
|
||||
}
|
||||
if (!libraryEditors.isEmpty() || !myRemovedLibraries.isEmpty()) {
|
||||
if (!libraryEditors.isEmpty() || !myRemovedLibraries.isEmpty() || myLibrariesModifiableModel != null && myLibrariesModifiableModel.isChanged()) {
|
||||
getLibrariesModifiableModel().commit();
|
||||
myLibrariesModifiableModel = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user