- Timestamp:
- 2021-09-12T03:30:18+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/download/OverpassQueryWizardDialog.java
r18174 r18218 85 85 */ 86 86 private void saveHistory() { 87 model.addTopElement(SearchSetting.fromString(hcbSearchString.getText())); 87 Optional.ofNullable(SearchSetting.fromString(hcbSearchString.getText())) 88 .ifPresent(model::addTopElement); 88 89 prefs.save(OVERPASS_WIZARD_HISTORY); 89 90 }
Note:
See TracChangeset
for help on using the changeset viewer.