Changeset 17273 in josm
- Timestamp:
- 2020-10-27T14:50:10+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/ConflictDialog.java
r17188 r17273 518 518 resolver.populate(c); 519 519 resolver.decideRemaining(type); 520 commands.add(resolver.buildResolveCommand()); 520 Command cmd = resolver.buildResolveCommand(); 521 cmd.executeCommand(); // execute now, see #6529 522 commands.add(cmd); 521 523 } 522 524 } 523 525 } 524 UndoRedoHandler.getInstance().add(new SequenceCommand(name, commands));526 UndoRedoHandler.getInstance().add(new ResolveConflictsCommand(name, commands), false); 525 527 refreshView(); 528 } 529 } 530 531 private static class ResolveConflictsCommand extends SequenceCommand { 532 // just a wrapper for already executed commands 533 ResolveConflictsCommand(String name, Collection<Command> sequenz) { 534 super(name, sequenz, true); 535 setSequenceComplete(true); 526 536 } 527 537 }
Note:
See TracChangeset
for help on using the changeset viewer.