mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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
|
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
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Add table
Reference in a new issue