mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
main.qml: add a drawer action for the map
This action uses the Breeze icon "map-globe.svg" and calls showMap(). Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
68da4de643
commit
fe9c3d4c95
1 changed files with 9 additions and 0 deletions
|
@ -131,6 +131,15 @@ Kirigami.ApplicationWindow {
|
|||
globalDrawer.close()
|
||||
}
|
||||
},
|
||||
Kirigami.Action {
|
||||
icon {
|
||||
name: "icons/map-globe.svg"
|
||||
}
|
||||
text: mapPage.title
|
||||
onTriggered: {
|
||||
showMap()
|
||||
}
|
||||
},
|
||||
Kirigami.Action {
|
||||
icon {
|
||||
name: "icons/ic_sync.svg"
|
||||
|
|
Loading…
Add table
Reference in a new issue