Changeset 18586 in josm for trunk/src/org
- Timestamp:
- 2022-11-07T21:46:03+01:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
r18576 r18586 895 895 if (newLayer != null) { 896 896 newLayer.addPropertyChangeListener(this); 897 if (newLayer.isVisible() ) {897 if (newLayer.isVisible() && Boolean.TRUE.equals(PROP_PREVIEW_ON_HOVER.get())) { 898 898 MainApplication.getMap().mapView.addPrimitiveHoverListener(this); 899 899 } else { … … 909 909 910 910 // Disable hover preview when primitives are invisible 911 if (isVisible ) {911 if (isVisible && Boolean.TRUE.equals(PROP_PREVIEW_ON_HOVER.get())) { 912 912 MainApplication.getMap().mapView.addPrimitiveHoverListener(this); 913 913 } else {
Note:
See TracChangeset
for help on using the changeset viewer.