Changeset 2262 in josm for trunk


Ignore:
Timestamp:
2009-10-10T13:57:00+02:00 (13 years ago)
Author:
stoecker
Message:

applied #3544 - fix search history - patch by singularita gmail com

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java

    r2226 r2262  
    164164            searchHistory.removeLast();
    165165        }
    166         lastSearch = s;
     166        lastSearch = new SearchSetting(s);
    167167        search(s);
    168168    }
    169169
    170170    public static void searchWithoutHistory(SearchSetting s) {
    171         lastSearch = s;
     171        lastSearch = new SearchSetting(s);
    172172        search(s);
    173173    }
Note: See TracChangeset for help on using the changeset viewer.