Ignore:
Timestamp:
2017-08-24T00:15:51+02:00 (9 years ago)
Author:
Don-vip
Message:

see #15182 - deprecate Main.map and Main.isDisplayingMapView(). Replacements: gui.MainApplication.getMap() / gui.MainApplication.isDisplayingMapView()

File:
1 edited

Legend:

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

    r12620 r12630  
    1919import org.openstreetmap.josm.gui.HelpAwareOptionPane;
    2020import org.openstreetmap.josm.gui.HelpAwareOptionPane.ButtonSpec;
     21import org.openstreetmap.josm.gui.MainApplication;
    2122import org.openstreetmap.josm.gui.help.HelpUtil;
    2223import org.openstreetmap.josm.tools.ImageProvider;
     
    105106        }
    106107
    107         Note noteToShow = Main.isDisplayingMapView() ? Main.map.noteDialog.getSelectedNote() : null;
     108        Note noteToShow = MainApplication.isDisplayingMapView() ? MainApplication.getMap().noteDialog.getSelectedNote() : null;
    108109
    109110        // filter out new primitives which are not yet uploaded to the server
Note: See TracChangeset for help on using the changeset viewer.