diff --git a/OsmAnd/res/drawable/tour_bg.xml b/OsmAnd/res/drawable/tour_bg.xml
index e60cc59b73..1a94704092 100644
--- a/OsmAnd/res/drawable/tour_bg.xml
+++ b/OsmAnd/res/drawable/tour_bg.xml
@@ -2,7 +2,5 @@
-
\ No newline at end of file
diff --git a/OsmAnd/res/layout/sherpafy_list_tour_item.xml b/OsmAnd/res/layout/sherpafy_list_tour_item.xml
index 6decc6f550..91ef2786f3 100644
--- a/OsmAnd/res/layout/sherpafy_list_tour_item.xml
+++ b/OsmAnd/res/layout/sherpafy_list_tour_item.xml
@@ -19,7 +19,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content">
-
-
+
vlp = waypointHelper.getVisibleLocationPoints();
+ List vlp = waypointHelper.getAllVisibleLocationPoints();
long locationPointsModified = waypointHelper.getLocationPointsModified();
if (locationPointsModified != uiModified) {
uiModified = locationPointsModified;
@@ -70,7 +75,7 @@ public class WaypointDialogHelper {
all.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
- showAllDialog();
+ showAllDialog(waypointHelper.getAllVisibleLocationPoints());
}
});
@@ -185,8 +190,95 @@ public class WaypointDialogHelper {
}.execute(reachedView);
}
- public void showAllDialog(){
- final List visibleLocationPoints = waypointHelper.getVisibleLocationPoints();
+ public void showWaypointsSettingsDialog(){
+ final List