Changeset 17342 in josm
- Timestamp:
- 2020-11-23T20:52:54+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/UndoRedoHandler.java
r16568 r17342 378 378 for (int i = 1; i <= num; ++i) { 379 379 final Command c = commands.removeLast(); 380 c.undoCommand(); 380 try { 381 c.undoCommand(); 382 } catch (Exception e) { // NOPMD 383 // fix #20098: restore command stack as we will not fire an event 384 commands.add(c); 385 throw e; 386 } 381 387 redoCommands.addFirst(c); 382 388 fireEvent(new CommandUndoneEvent(this, c));
Note:
See TracChangeset
for help on using the changeset viewer.