Changeset 23180 in osm for applications/editors/josm/plugins/waypoint_search/src
- Timestamp:
- 2010-09-15T16:18:59+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/waypoint_search/src/org/openstreetmap/josm/plugins/waypointSearch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/waypoint_search/src/org/openstreetmap/josm/plugins/waypointSearch/SelectWaypointDialog.java
r23160 r23180 64 64 65 65 public void updateSearchResults(){ 66 String searchfor; 66 String searchfor = ""; 67 67 listModel.clear(); 68 68 SearchResultObjectCache.clear(); 69 if (first_time_search) { 70 searchfor = ""; 71 first_time_search = false; 72 } else { 69 if (!first_time_search) { 73 70 searchfor = searchPattern.getText(); 74 71 } … … 96 93 @Override 97 94 public void keyTyped(KeyEvent arg0) { 98 // TODO Auto-generated method stub95 first_time_search = false; 99 96 } 100 97 -
applications/editors/josm/plugins/waypoint_search/src/org/openstreetmap/josm/plugins/waypointSearch/WaypointSearchPlugin.java
r22661 r23180 36 36 Main.map.addToggleDialog(waypointDialog); 37 37 } 38 // Enable to menu38 //update search 39 39 if (engine.gpxLayersExist()) { 40 40 waypointDialog.updateSearchResults();
Note:
See TracChangeset
for help on using the changeset viewer.