From 7dfd22e942567bf151a8d373a64e6aed2e662b89 Mon Sep 17 00:00:00 2001 From: Arseniy Movshev Date: Sat, 7 Jan 2023 19:22:04 +0000 Subject: Add a page for editing and deleting waypoints --- src/MapWaypoint.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/MapWaypoint.qml') diff --git a/src/MapWaypoint.qml b/src/MapWaypoint.qml index 3a56dcc..f40f62d 100644 --- a/src/MapWaypoint.qml +++ b/src/MapWaypoint.qml @@ -11,6 +11,7 @@ MapQuickItem { autoFadeIn: false property string iconName property color iconColor + property int index sourceItem: Asteroid.IconButton { width: Asteroid.Dims.w(12) iconName: "waypoint" @@ -23,5 +24,6 @@ MapQuickItem { name: root.iconName color: root.iconColor } + onClicked: editWaypoint(index) } } -- cgit v1.2.3-54-g00ecf