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:
Murillo Bernardes 2018-05-26 22:16:59 +02:00 committed by Dirk Hohndel
parent 7d2c08aed0
commit 424efb7720
2 changed files with 4 additions and 2 deletions

View file

@ -211,6 +211,8 @@ Kirigami.ScrollablePage {
verticalCenter: parent.verticalCenter
}
source: ":/icons/trash-empty"
width: Kirigami.Units.iconSizes.smallMedium
height: width
}
MouseArea {
anchors.fill: parent

View file

@ -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()