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 verticalCenter: parent.verticalCenter
} }
source: ":/icons/trash-empty" source: ":/icons/trash-empty"
width: Kirigami.Units.iconSizes.smallMedium
height: width
} }
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent

View file

@ -74,7 +74,7 @@ Kirigami.ScrollablePage {
actions: [ actions: [
Kirigami.Action { Kirigami.Action {
icon { icon {
name: "trash-empty" name: ":/icons/trash-empty"
} }
onTriggered: { onTriggered: {
print("delete this!") print("delete this!")
@ -83,7 +83,7 @@ Kirigami.ScrollablePage {
}, },
Kirigami.Action { Kirigami.Action {
icon { icon {
name: "gps" name: ":/icons/gps"
} }
onTriggered: { onTriggered: {
showMap() showMap()