Ignore:
Timestamp:
2018-04-21T02:42:26+02:00 (6 years ago)
Author:
Don-vip
Message:

More uses of OsmDataLayer.getDataSet()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/actions/SavingAction.java

    r12726 r13654  
    7373        if (newRelation.getMembersCount() == 0 && !newRelation.hasKeys())
    7474            return;
    75         MainApplication.undoRedo.add(new AddCommand(layer.data, newRelation));
     75        MainApplication.undoRedo.add(new AddCommand(layer.getDataSet(), newRelation));
    7676
    7777        // make sure everybody is notified about the changes
     
    9595        memberTableModel.applyToRelation(editedRelation);
    9696        Conflict<Relation> conflict = new Conflict<>(editor.getRelation(), editedRelation);
    97         MainApplication.undoRedo.add(new ConflictAddCommand(layer.data, conflict));
     97        MainApplication.undoRedo.add(new ConflictAddCommand(layer.getDataSet(), conflict));
    9898    }
    9999
Note: See TracChangeset for help on using the changeset viewer.