370371372373374375376377378379380
} catch (ConcurrentModificationException x) { Main.warn(x); } finally { if (ds != null) { if(isAtOldPosition && middleMouseDown) { ds.endUpdate(); } else { ds.getReadLock().unlock(); } } }
119120121122123124125126127128129
trn("Simplify {0} way", "Simplify {0} ways", allCommands.size(), allCommands.size()), allCommands ); Main.main.undoRedo.add(rootCommand); } finally { ds.endUpdate(); } Main.map.repaint(); } /**
100101102103104105106107108109110
} } } disabledCount -= disabledAndHiddenCount; } finally { ds.endUpdate(); } if (!deselect.isEmpty()) { ds.clearSelection(deselect); }
156157158159160161162163164165166
} } } } finally { ds.endUpdate(); } if (changed) { Main.map.mapView.repaint(); Main.map.filterDialog.updateDialogHeader();