Changeset 19160 in josm
- Timestamp:
- 2024-07-30T15:13:18+02:00 (4 months ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetValidation.java
r18918 r19160 45 45 */ 46 46 static void validateAsync(OsmPrimitive original, JLabel validationLabel, List<Tag> changedTags) { 47 OsmPrimitive primitive = applyChangedTags(original, changedTags); 48 MainApplication.worker.execute(() -> validate(primitive, validationLabel)); 47 MainApplication.worker.execute(() -> { 48 // applyChangedTags can be very expensive if a relation gets involved, so it must be done in 49 // a separate thread. This is becuase it clones all potentially affected objects. 50 OsmPrimitive primitive = applyChangedTags(original, changedTags); 51 validate(primitive, validationLabel); 52 }); 49 53 } 50 54 -
trunk/src/org/openstreetmap/josm/gui/tagging/presets/items/MultiSelect.java
r18265 r19160 95 95 p.add(sp, GBC.eol().fill(GBC.HORIZONTAL)); // NOSONAR 96 96 97 list.addListSelectionListener(l -> support.fireItemValueModified(this, key, getSelectedItem().value)); 97 list.addListSelectionListener(l -> { 98 if (!l.getValueIsAdjusting()) { 99 support.fireItemValueModified(this, key, getSelectedItem().value); 100 } 101 }); 98 102 list.setToolTipText(getKeyTooltipText()); 99 103 list.applyComponentOrientation(OrientationAction.getValueOrientation(key)); -
trunk/src/org/openstreetmap/josm/io/CertificateAmendment.java
r19158 r19160 22 22 import java.security.cert.TrustAnchor; 23 23 import java.security.cert.X509Certificate; 24 import java.util.Arrays;25 24 import java.util.Collection; 26 25 import java.util.Collections;
Note:
See TracChangeset
for help on using the changeset viewer.