Fix Accessible onPressed actions

This commit is contained in:
Bart De Vries 2021-07-06 10:53:30 +02:00
parent a5a24fb08c
commit f9287e94f8
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ Controls.ItemDelegate {
Accessible.role: Accessible.Button Accessible.role: Accessible.Button
Accessible.name: feed.name Accessible.name: feed.name
Accessible.onPressAction: { Accessible.onPressAction: {
feedDelegate.click() feedDelegate.clicked();
} }
onClicked: { onClicked: {

View File

@ -25,7 +25,7 @@ Kirigami.SwipeListItem {
Accessible.role: Accessible.Button Accessible.role: Accessible.Button
Accessible.name: entry.title Accessible.name: entry.title
Accessible.onPressAction: { Accessible.onPressAction: {
listItem.click() listItem.clicked();
} }
contentItem: RowLayout { contentItem: RowLayout {