- Timestamp:
- 2017-06-11T14:42:56+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/layer/LayerVisibilityAction.java
r12392 r12393 281 281 public void updateLayers(List<Layer> layers, boolean allVisible, boolean allHidden) { 282 282 Collection<? extends Layer> usedLayers = filterLayers(layers); 283 setVisible(!usedLayers.isEmpty()); 283 284 if (!usedLayers.stream().anyMatch(Layer::isVisible)) { 284 285 slider.setEnabled(false);
Note:
See TracChangeset
for help on using the changeset viewer.