Add check for the existence of entry before using entry.title

This commit is contained in:
Bart De Vries 2023-03-14 16:22:06 +01:00
parent bc658bcbe2
commit 03d090fd92
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ Kirigami.SwipeListItem {
activeBackgroundColor: Qt.lighter(Kirigami.Theme.highlightColor, 1.3)
Accessible.role: Accessible.Button
Accessible.name: entry.title
Accessible.name: entry ? entry.title : ""
Accessible.onPressAction: {
listItem.clicked();
}