Changeset 9444 in josm
- Timestamp:
- 2016-01-14T18:10:23+01:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions/mapmode
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
r9409 r9444 1792 1792 @Override 1793 1793 protected void updateEnabledState() { 1794 setEnabled(Main.ma in != null && Main.main.hasEditLayer());1794 setEnabled(Main.map != null && Main.map.mapMode instanceof DrawAction); 1795 1795 } 1796 1796 } -
trunk/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java
r9409 r9444 202 202 @Override 203 203 protected void updateEnabledState() { 204 setEnabled(Main.ma in != null && Main.main.hasEditLayer());204 setEnabled(Main.map != null && Main.map.mapMode instanceof ExtrudeAction); 205 205 } 206 206 }
Note:
See TracChangeset
for help on using the changeset viewer.