diff options
author | Jan Mulder <jan@jlmulder.nl> | 2020-04-27 14:07:03 +0200 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2020-04-27 14:48:37 +0200 |
commit | 906762027b8ca2b1cd0c33d28fea2e6e54743085 (patch) | |
tree | 208a6089cc0fbc97964437627c90704b99b69b17 /map-widget | |
parent | da953fa18a954379cc52fec85b2f30fa368aa940 (diff) | |
download | subsurface-906762027b8ca2b1cd0c33d28fea2e6e54743085.tar.gz |
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 <jan@jlmulder.nl>
Diffstat (limited to 'map-widget')
-rw-r--r-- | map-widget/qml/MapWidget.qml | 3 |
1 files changed, 3 insertions, 0 deletions
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: { |