Ignore:
Timestamp:
2016-06-21T00:58:45+02:00 (8 years ago)
Author:
Don-vip
Message:

see #13001 - replace calls to Main.main.getCurrentDataSet() by Main.getLayerManager().getEditDataSet()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/LoadObjectHandler.java

    r10116 r10446  
    7272                public void run() {
    7373                    final List<PrimitiveId> downloaded = task.getDownloadedId();
    74                     final DataSet ds = Main.main.getCurrentDataSet();
     74                    final DataSet ds = Main.getLayerManager().getEditDataSet();
    7575                    if (downloaded != null) {
    7676                        GuiHelper.runInEDT(new Runnable() {
Note: See TracChangeset for help on using the changeset viewer.