Changeset 1690 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/ConflictResolutionDialog.java
- Timestamp:
- 23.06.2009 22:03:37 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/ConflictResolutionDialog.java
r1677 r1690 23 23 import org.openstreetmap.josm.command.Command; 24 24 import org.openstreetmap.josm.gui.conflict.ConflictResolver; 25 import org.openstreetmap.josm.gui.conflict.properties.OperationCancelledException; 25 26 import org.openstreetmap.josm.tools.ImageProvider; 26 27 … … 190 191 return; 191 192 } 192 Command cmd = resolver.buildResolveCommand(); 193 Main.main.undoRedo.add(cmd); 193 try { 194 Command cmd = resolver.buildResolveCommand(); 195 Main.main.undoRedo.add(cmd); 196 } catch(OperationCancelledException e) { 197 // do nothing. Exception already reported 198 } 194 199 setVisible(false); 195 200 }
Note: See TracChangeset
for help on using the changeset viewer.
