Changeset 23180 in osm for applications/editors/josm
- Timestamp:
- 2010-09-15T16:18:59+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/waypoint_search
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/waypoint_search/build.xml
r23160 r23180 31 31 32 32 <!-- enter the SVN commit message --> 33 <property name="commit.message" value="b etter integration wih JOSM gui" />33 <property name="commit.message" value="bugfix of search when layer is added" /> 34 34 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 35 35 <property name="plugin.main.version" value="3514" /> -
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.