mapwidget.qml: add menu action for selecting visible locations

MapWidgetContextMenu now has a new action (SELECT_VISIBLE_LOCATIONS),
that will invoke the MapWidgetHelper method selectVisibleLocations().

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
Lubomir I. Ivanov 2017-08-07 03:02:16 +03:00 committed by Dirk Hohndel
parent 93896e54db
commit 00e401b61f
2 changed files with 7 additions and 2 deletions

View file

@ -345,6 +345,9 @@ Item {
case contextMenu.actions.COPY_LOCATION_SEXAGESIMAL:
mapHelper.copyToClipboardCoordinates(map.center, true)
break
case contextMenu.actions.SELECT_VISIBLE_LOCATIONS:
mapHelper.selectVisibleLocations()
break
}
}
}