summaryrefslogtreecommitdiffstats
path: root/app/map/MapComponent.qml
diff options
context:
space:
mode:
Diffstat (limited to 'app/map/MapComponent.qml')
-rw-r--r--app/map/MapComponent.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/map/MapComponent.qml b/app/map/MapComponent.qml
index ce669ff..f8e8e37 100644
--- a/app/map/MapComponent.qml
+++ b/app/map/MapComponent.qml
@@ -377,7 +377,7 @@ Map {
stackView.push(Qt.resolvedUrl("../forms/RouteAddress.qml"),
{ "plugin": map.plugin,
"toAddress": toAddress,
- "fromAddress": fromAddress})
+ "fromCoordinate": map.location})
stackView.currentItem.showRoute.connect(map.calculateCoordinateRoute)
stackView.currentItem.showMessage.connect(stackView.showMessage)
stackView.currentItem.closeForm.connect(stackView.closeForm)