Fix new custom filter visibility

This commit is contained in:
max-klaus 2020-02-03 17:53:53 +03:00
parent 1249987391
commit 44617b3f6b

View file

@ -102,7 +102,6 @@ public class QuickSearchHelper implements ResourceListener {
core.registerAPI(new SearchOnlineApi(app));
refreshCustomPoiFilters();
refreshFilterOrders();
}
public void refreshCustomPoiFilters() {
@ -116,6 +115,7 @@ public class QuickSearchHelper implements ResourceListener {
core.addCustomSearchPoiFilter(localWikiPoiFilter, 1);
}
core.addCustomSearchPoiFilter(poiFilters.getShowAllPOIFilter(), 1);
refreshFilterOrders();
}
public void refreshFilterOrders() {