diff options
Diffstat (limited to 'map-widget')
-rw-r--r-- | map-widget/qmlmapwidgethelper.cpp | 5 | ||||
-rw-r--r-- | map-widget/qmlmapwidgethelper.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/map-widget/qmlmapwidgethelper.cpp b/map-widget/qmlmapwidgethelper.cpp index feaccdbef..02bfa78a2 100644 --- a/map-widget/qmlmapwidgethelper.cpp +++ b/map-widget/qmlmapwidgethelper.cpp @@ -113,6 +113,11 @@ void MapWidgetHelper::reloadMapLocations() m_mapLocationModel->reload(m_map); } +void MapWidgetHelper::selectionChanged() +{ + m_mapLocationModel->selectionChanged(); +} + void MapWidgetHelper::selectedLocationChanged(struct dive_site *ds_in) { int idx; diff --git a/map-widget/qmlmapwidgethelper.h b/map-widget/qmlmapwidgethelper.h index af469193e..046cb4ce1 100644 --- a/map-widget/qmlmapwidgethelper.h +++ b/map-widget/qmlmapwidgethelper.h @@ -36,6 +36,7 @@ public: Q_INVOKABLE void updateCurrentDiveSiteCoordinatesFromMap(struct dive_site *ds, QGeoCoordinate coord); Q_INVOKABLE void selectVisibleLocations(); Q_INVOKABLE void selectedLocationChanged(struct dive_site *ds); + void selectionChanged(); QString pluginObject(); bool editMode() const; |