mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
correctly process 'cancel' in 'add module library' dialog
This commit is contained in:
@@ -1059,6 +1059,10 @@ public class ClasspathPanel extends JPanel {
|
||||
if (myIsOk) {
|
||||
myChosenLibrary = library;
|
||||
}
|
||||
else {
|
||||
myChosenLibrary = null;
|
||||
libraryModifiableModel.removeLibrary(library);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isOK() {
|
||||
|
||||
Reference in New Issue
Block a user