Changeset 29809 in osm for applications/editors/josm/plugins/piclayer/src/org/openstreetmap
- Timestamp:
- 2013-08-01T19:04:02+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/PicLayerPlugin.java
r29807 r29809 147 147 @Override 148 148 public void layerAdded(Layer arg0) { 149 newLayerFrom ClipboardAction.setEnabled(true);149 newLayerFromFileAction.setEnabled(true); 150 150 newLayerFromClipboardAction.setEnabled(true); 151 151 } … … 165 165 // Why should I do all these checks now? 166 166 boolean enable = Main.map != null && Main.map.mapView != null && Main.map.mapView.getAllLayers() != null && Main.map.mapView.getAllLayers().size() != 0; 167 newLayerFrom ClipboardAction.setEnabled(enable);167 newLayerFromFileAction.setEnabled(enable); 168 168 newLayerFromClipboardAction.setEnabled(enable); 169 169 }
Note:
See TracChangeset
for help on using the changeset viewer.