Ignore:
Timestamp:
2016-06-25T11:56:57+02:00 (9 years ago)
Author:
donvip
Message:

checkstyle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/EditChosenRelationAction.java

    r32395 r32398  
    2525
    2626    public EditChosenRelationAction(ChosenRelation rel) {
    27         super();
    28         //        putValue(NAME, "E");
    2927        putValue(SMALL_ICON, ImageProvider.get("dialogs/mappaint", "pencil"));
    3028        putValue(SHORT_DESCRIPTION, tr("Open relation editor for the chosen relation"));
     
    3735    public void actionPerformed(ActionEvent e) {
    3836        Relation relation = rel.get();
    39         if (relation == null ) return;
    40         RelationEditor.getEditor(Main.main.getEditLayer(), relation, null).setVisible(true);
     37        if (relation == null) return;
     38        RelationEditor.getEditor(Main.getLayerManager().getEditLayer(), relation, null).setVisible(true);
    4139    }
    4240
Note: See TracChangeset for help on using the changeset viewer.