Ignore:
Timestamp:
2012-08-20T01:26:42+02:00 (14 years ago)
Author:
Don-vip
Message:

global use of Main.isDisplayingMapView()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MainMenu.java

    r5092 r5460  
    593593         */
    594594        protected void refreshEnabled() {
    595             presetsMenu.setEnabled(Main.map != null
    596                     && Main.map.mapView !=null
     595            presetsMenu.setEnabled(Main.isDisplayingMapView()
    597596                    && Main.map.mapView.getEditLayer() != null
    598597            );
Note: See TracChangeset for help on using the changeset viewer.