From 3d9c6d0d8198013225ea7478c5a97668653b032a Mon Sep 17 00:00:00 2001 From: PavelRatushny Date: Wed, 30 Aug 2017 11:10:42 +0300 Subject: [PATCH] Fix #4269 --- .../src/net/osmand/plus/helpers/WaypointDialogHelper.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/helpers/WaypointDialogHelper.java b/OsmAnd/src/net/osmand/plus/helpers/WaypointDialogHelper.java index 8ebf1dfb87..b336819d22 100644 --- a/OsmAnd/src/net/osmand/plus/helpers/WaypointDialogHelper.java +++ b/OsmAnd/src/net/osmand/plus/helpers/WaypointDialogHelper.java @@ -761,6 +761,13 @@ public class WaypointDialogHelper { public void dismiss() { if (app.getPoiFilters().isShowingAnyPoi()) { enableType(running, listAdapter, type, enable); + } else { + running[0] = -1; + if (helperCallbacks != null) { + helperCallbacks.reloadAdapter(); + } else { + reloadListAdapter(listAdapter); + } } } });