Changeset 11505 in josm
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/layer/DuplicateAction.java
r10606 r11505 71 71 public void updateEnabledState() { 72 72 if (layer == null) { 73 if (model .getSelectedLayers().size() == 1) {73 if (model != null && model.getSelectedLayers().size() == 1) { 74 74 setEnabled(model.getSelectedLayers().get(0) instanceof OsmDataLayer); 75 75 } else {
Note:
See TracChangeset
for help on using the changeset viewer.