Ignore:
Timestamp:
2007-08-08T14:56:38+02:00 (19 years ago)
Author:
imi
Message:
  • fixed undo/redo to be global
  • fixed adding of objects work with undo/redo (#212)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/actions/SplitWayAction.java

    r298 r301  
    455455                NameVisitor v = new NameVisitor();
    456456                v.visit(selectedWay);
    457                 Main.main.editLayer().add(new SequenceCommand(tr("Split way {0} into {1} parts",v.name, segmentSets.size()), commandList));
     457                Main.main.undoRedo.add(new SequenceCommand(tr("Split way {0} into {1} parts",v.name, segmentSets.size()), commandList));
    458458                Main.ds.setSelected(newSelection);
    459459        }
Note: See TracChangeset for help on using the changeset viewer.