This commit is contained in:
Alexey Kudravtsev
2012-10-16 13:39:43 +04:00
parent 5539ada9ac
commit 5d244f4688
@@ -1069,8 +1069,8 @@ public abstract class ChooseByNameBase {
@Override
public void removeRangeFromModel(int start, int end) {
if (start < size()) {
removeRange(start, Math.min(end, size()));
if (start < size() && size() != 0) {
removeRange(start, Math.min(end, size()-1));
}
}
}