diff --git a/map-widget/qml/MapWidget.qml b/map-widget/qml/MapWidget.qml index 69ddd8044..f028bd1c3 100644 --- a/map-widget/qml/MapWidget.qml +++ b/map-widget/qml/MapWidget.qml @@ -9,10 +9,13 @@ Item { property alias mapHelper: mapHelper property alias map: map + signal selectedDivesChanged(var list) + MapWidgetHelper { id: mapHelper map: map editMode: false + onSelectedDivesChanged: rootItem.selectedDivesChanged(list) onEditModeChanged: editMessage.isVisible = editMode === true ? 1 : 0 onCoordinatesChanged: {} Component.onCompleted: {