diff options
Diffstat (limited to 'desktop-widgets/mapwidget.cpp')
-rw-r--r-- | desktop-widgets/mapwidget.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop-widgets/mapwidget.cpp b/desktop-widgets/mapwidget.cpp index 376a29998..15fdef960 100644 --- a/desktop-widgets/mapwidget.cpp +++ b/desktop-widgets/mapwidget.cpp @@ -84,6 +84,12 @@ bool MapWidget::editMode() const return isReady && m_mapHelper->editMode(); } +void MapWidget::setSelected(const QVector<dive_site *> &divesites) +{ + CHECK_IS_READY_RETURN_VOID(); + m_mapHelper->setSelected(divesites); +} + void MapWidget::selectionChanged() { CHECK_IS_READY_RETURN_VOID(); |