- Timestamp:
- 2017-03-16T17:07:39+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/SequenceCommand.java
r10680 r11733 73 73 74 74 protected final void undoCommands(int start) { 75 // We probably aborted this halfway though the76 // execution sequence because of a sub-command77 // error. We already undid the sub-commands.78 if (!sequenceComplete)79 return;80 75 for (int i = start; i >= 0; --i) { 81 76 sequence[i].undoCommand(); … … 84 79 85 80 @Override public void undoCommand() { 81 // We probably aborted this halfway though the 82 // execution sequence because of a sub-command 83 // error. We already undid the sub-commands. 84 if (!sequenceComplete) 85 return; 86 86 undoCommands(sequence.length-1); 87 87 }
Note:
See TracChangeset
for help on using the changeset viewer.