mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-69633 - IAE: ProjectFileIndexImpl.isInLibrarySource
(e.g. for package with multiple directories)
This commit is contained in:
+1
-1
@@ -224,7 +224,7 @@ public abstract class DestinationFolderComboBox extends ComboboxWithBrowseButton
|
||||
oldOne = itemWrapper;
|
||||
}
|
||||
}
|
||||
if (!fileIndex.isInLibrarySource(oldSelection)) {
|
||||
if (oldSelection == null || !fileIndex.isInLibrarySource(oldSelection)) {
|
||||
items.add(NULL_WRAPPER);
|
||||
}
|
||||
final DirectoryChooser.ItemWrapper selection = chooseSelection(initialTargetDirectorySourceRoot, fileIndex, items, initial, oldOne);
|
||||
|
||||
Reference in New Issue
Block a user