correctly process 'cancel' in 'add module library' dialog

This commit is contained in:
nik
2010-09-10 13:37:43 +04:00
parent d90bf971ce
commit f4aa41c885
@@ -1059,6 +1059,10 @@ public class ClasspathPanel extends JPanel {
if (myIsOk) {
myChosenLibrary = library;
}
else {
myChosenLibrary = null;
libraryModifiableModel.removeLibrary(library);
}
}
public boolean isOK() {