diff options
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r-- | mobile-widgets/qml/MapWidget.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mobile-widgets/qml/MapWidget.qml b/mobile-widgets/qml/MapWidget.qml index 647754223..a8eb7550e 100644 --- a/mobile-widgets/qml/MapWidget.qml +++ b/mobile-widgets/qml/MapWidget.qml @@ -5,6 +5,8 @@ import QtPositioning 5.3 import org.subsurfacedivelog.mobile 1.0 Item { + property int nSelectedDives: 0 + Plugin { id: mapPlugin name: "esri" @@ -15,7 +17,7 @@ Item { map: map onSelectedDivesChanged: { // 'list' contains a list of dive list indexes - console.log("onSelectedDivesChanged: " + list.length); + nSelectedDives = list.length } } |