Merge pull request #4360 from osmandapp/poi_wheel

Fix #4269
This commit is contained in:
Alexey 2017-08-30 11:24:48 +03:00 committed by GitHub
commit b669d2ca79

View file

@ -761,6 +761,13 @@ public class WaypointDialogHelper {
public void dismiss() { public void dismiss() {
if (app.getPoiFilters().isShowingAnyPoi()) { if (app.getPoiFilters().isShowingAnyPoi()) {
enableType(running, listAdapter, type, enable); enableType(running, listAdapter, type, enable);
} else {
running[0] = -1;
if (helperCallbacks != null) {
helperCallbacks.reloadAdapter();
} else {
reloadListAdapter(listAdapter);
}
} }
} }
}); });