Ignore:
Timestamp:
2017-08-25T10:18:53+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15182 - deprecate Main.main.menu. Replacement: gui.MainApplication.getMenu()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/imagery/ImageryPreference.java

    r12634 r12643  
    164164        ImageryLayerInfo.instance.clear();
    165165        ImageryLayerInfo.instance.load(false);
    166         Main.main.menu.imageryMenu.refreshOffsetMenu();
     166        MainApplication.getMenu().imageryMenu.refreshOffsetMenu();
    167167        OffsetBookmark.saveBookmarks();
    168168
     
    958958        ImageryLayerInfo.instance.load(false);
    959959        OffsetBookmark.loadBookmarks();
    960         Main.main.menu.imageryMenu.refreshImageryMenu();
    961         Main.main.menu.imageryMenu.refreshOffsetMenu();
     960        MainApplication.getMenu().imageryMenu.refreshImageryMenu();
     961        MainApplication.getMenu().imageryMenu.refreshOffsetMenu();
    962962    }
    963963}
Note: See TracChangeset for help on using the changeset viewer.