mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
mobile: make list action buttons appear again
Dive list: on holding an item, the delete button was not showing the icon. Show GPS fixes: when swiping an item icons were not being shown. Partial for bug #1267 Signed-off-by: Murillo Bernardes <mfbernardes@gmail.com>
This commit is contained in:
parent
7d2c08aed0
commit
424efb7720
2 changed files with 4 additions and 2 deletions
|
@ -211,6 +211,8 @@ Kirigami.ScrollablePage {
|
|||
verticalCenter: parent.verticalCenter
|
||||
}
|
||||
source: ":/icons/trash-empty"
|
||||
width: Kirigami.Units.iconSizes.smallMedium
|
||||
height: width
|
||||
}
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
|
|
|
@ -74,7 +74,7 @@ Kirigami.ScrollablePage {
|
|||
actions: [
|
||||
Kirigami.Action {
|
||||
icon {
|
||||
name: "trash-empty"
|
||||
name: ":/icons/trash-empty"
|
||||
}
|
||||
onTriggered: {
|
||||
print("delete this!")
|
||||
|
@ -83,7 +83,7 @@ Kirigami.ScrollablePage {
|
|||
},
|
||||
Kirigami.Action {
|
||||
icon {
|
||||
name: "gps"
|
||||
name: ":/icons/gps"
|
||||
}
|
||||
onTriggered: {
|
||||
showMap()
|
||||
|
|
Loading…
Reference in a new issue