6520574: JFileChooser - create new folder - not editable
Reviewed-by: malenkov
This commit is contained in:
parent
7ab71fb443
commit
207583b21e
@ -486,7 +486,7 @@ public class BasicDirectoryModel extends AbstractListModel implements PropertyCh
|
||||
}
|
||||
if (remSize > 0 && addSize == 0) {
|
||||
fireIntervalRemoved(BasicDirectoryModel.this, remStart, remStart + remSize - 1);
|
||||
} else if (addSize > 0 && remSize == 0 && fileCache.size() > addSize) {
|
||||
} else if (addSize > 0 && remSize == 0 && addStart + addSize <= fileCache.size()) {
|
||||
fireIntervalAdded(BasicDirectoryModel.this, addStart, addStart + addSize - 1);
|
||||
} else {
|
||||
fireContentsChanged();
|
||||
|
Loading…
x
Reference in New Issue
Block a user