From 1fbffe1478bfe5b0e2b43084191d42c55855991e Mon Sep 17 00:00:00 2001 From: nik Date: Wed, 14 Sep 2011 12:51:49 +0400 Subject: [PATCH] IDEA-73882: Add files to libary: after I press cancel in file chooser, 'Choose category for attached files' dialog is shown --- .../ui/configuration/classpath/CreateModuleLibraryChooser.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/classpath/CreateModuleLibraryChooser.java b/java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/classpath/CreateModuleLibraryChooser.java index b5898b227893..4c014231e99b 100644 --- a/java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/classpath/CreateModuleLibraryChooser.java +++ b/java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/classpath/CreateModuleLibraryChooser.java @@ -171,6 +171,8 @@ public class CreateModuleLibraryChooser implements ClasspathElementChooser suitableDescriptors = new ArrayList(); for (Pair pair : descriptors) { if (acceptAll(pair.getSecond(), files)) {