Changeset 18952 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2024-01-23T14:05:10+01:00 (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/ValidatorDialog.java
r18951 r18952 589 589 */ 590 590 public void updateSelection(Collection<? extends OsmPrimitive> newSelection) { 591 if (newSelection.isEmpty() || !Config.getPref().getBoolean(ValidatorPrefHelper.PREF_FILTER_BY_SELECTION, false)) 591 if (!Config.getPref().getBoolean(ValidatorPrefHelper.PREF_FILTER_BY_SELECTION, false)) { 592 if (tree.getFilter() != null) 593 tree.setFilter(null); 594 return; 595 } 596 597 if (newSelection.isEmpty()) 592 598 tree.setFilter(null); 593 599 else … … 739 745 updateSelection(ds.getAllSelected()); 740 746 } 741 742 747 } 743 748
Note:
See TracChangeset
for help on using the changeset viewer.