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

global use of Main.isDisplayingMapView()

File:
1 edited

Legend:

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

    r5253 r5460  
    5555        @Override
    5656        public void updateEnabledState() {
    57             setEnabled(Main.map != null && Main.main.getEditLayer() != null);
     57            setEnabled(Main.isDisplayingMapView() && Main.main.getEditLayer() != null);
    5858        }
    5959    }
Note: See TracChangeset for help on using the changeset viewer.