Changeset 17552 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2021-03-05T22:50:02+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/imagery/AddWMSLayerPanel.java
r17543 r17552 207 207 return false; 208 208 } 209 if (setDefaultLayers.isSelected() && (tree == null || tree.getSelectedLayers().isEmpty())) { 209 /* 210 * We need selection of the layers in following situations: 211 * * endpoint is not selected (and we don't care about setDefault layers as it's disabled anyway) 212 * * endpoint is selected and setDefultLayers is selected 213 */ 214 if ((!endpoint.isSelected() || setDefaultLayers.isSelected()) && (tree == null || tree.getSelectedLayers().isEmpty())) { 210 215 return false; 211 216 }
Note:
See TracChangeset
for help on using the changeset viewer.