From 906762027b8ca2b1cd0c33d28fea2e6e54743085 Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Mon, 27 Apr 2020 14:07:03 +0200 Subject: [PATCH] Revert "map: remove selectedDivesChanged" This reverts commit cd474996948b7592ab2973b7f936320a663a914e. The signal removed in the reverted commit was used in Subsurface-mobile. So removing it, caused a not running app. Signed-off-by: Jan Mulder --- map-widget/qml/MapWidget.qml | 3 +++ 1 file changed, 3 insertions(+) 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: {