Changeset 17899 in josm for trunk/src/org
- Timestamp:
- 2021-05-17T19:56:22+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/presets/items/Text.java
r17793 r17899 22 22 import javax.swing.JPanel; 23 23 import javax.swing.JToggleButton; 24 import javax.swing.SwingUtilities; 24 25 25 26 import org.openstreetmap.josm.data.osm.Tag; … … 256 257 support.addListener((source, key, newValue) -> { 257 258 if (source != this) { 258 textField.setItem(valueTemplate.getText(support)); 259 String valueTemplateText = valueTemplate.getText(support); 260 Logging.trace("Evaluating value_template {0} for key {1} => {2}", valueTemplate, key, valueTemplateText); 261 SwingUtilities.invokeLater(() -> textField.setItem(valueTemplateText)); 259 262 } 260 263 });
Note:
See TracChangeset
for help on using the changeset viewer.