- Timestamp:
- 2017-08-06T22:38:35+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/OverpassDownloadAction.java
r12576 r12578 228 228 overpassQueryList.setVisible(false); 229 229 arrowButton.setDirection(BasicArrowButton.WEST); 230 OVERPASS_QUERY_LIST_OPENED.put( false);230 OVERPASS_QUERY_LIST_OPENED.put(Boolean.FALSE); 231 231 } else { 232 232 overpassQueryList.setVisible(true); 233 233 arrowButton.setDirection(BasicArrowButton.EAST); 234 OVERPASS_QUERY_LIST_OPENED.put( false);234 OVERPASS_QUERY_LIST_OPENED.put(Boolean.FALSE); 235 235 } 236 236 }); -
trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
r12547 r12578 1003 1003 public static class SearchSettingsActionParameter extends ActionParameter<SearchSetting> { 1004 1004 1005 /** 1006 * Constructs a new {@code SearchSettingsActionParameter}. 1007 * @param name parameter name (the key) 1008 */ 1005 1009 public SearchSettingsActionParameter(String name) { 1006 1010 super(name); -
trunk/src/org/openstreetmap/josm/gui/download/OverpassQueryList.java
r12577 r12578 184 184 componentParent, 185 185 tr("Edit item"), 186 item.getKey(), 187 item.getQuery(), 188 new String[] {tr("Save")}); 186 item, 187 tr("Save")); 189 188 dialog.showDialog(); 190 189 … … 428 427 429 428 EditItemDialog(Component parent, String title, String... buttonTexts) { 430 this(parent, title, "", "", buttonTexts);429 this(parent, title, null, buttonTexts); 431 430 } 432 431 … … 434 433 Component parent, 435 434 String title, 436 String nameToEdit, 437 String queryToEdit, 435 SelectorItem itemToEdit, 438 436 String... buttonTexts) { 439 437 super(parent, title, buttonTexts); 440 438 439 String nameToEdit = itemToEdit != null ? itemToEdit.getKey() : ""; 440 String queryToEdit = itemToEdit != null ? itemToEdit.getQuery() : ""; 441 441 this.initialNameHash = nameToEdit.hashCode(); 442 442
Note:
See TracChangeset
for help on using the changeset viewer.