Ignore:
Timestamp:
2016-06-18T00:06:41+02:00 (8 years ago)
Author:
Don-vip
Message:

fix #12983 - replace calls to Main.main.get[Active|Edit]Layer() by Main.getLayerManager().get[Active|Edit]Layer() - gsoc-core

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/relation/DeleteRelationsAction.java

    r9472 r10413  
    3030        if (toDelete == null)
    3131            return;
    32         DeleteAction.deleteRelations(Main.main.getEditLayer(), toDelete);
     32        DeleteAction.deleteRelations(Main.getLayerManager().getEditLayer(), toDelete);
    3333        // clear selection after deletion
    3434        if (Main.map.relationListDialog != null)
Note: See TracChangeset for help on using the changeset viewer.