mirror of https://github.com/KDE/kasts.git
Add check for the existence of entry before using entry.title
This commit is contained in:
parent
bc658bcbe2
commit
03d090fd92
|
@ -48,7 +48,7 @@ Kirigami.SwipeListItem {
|
||||||
activeBackgroundColor: Qt.lighter(Kirigami.Theme.highlightColor, 1.3)
|
activeBackgroundColor: Qt.lighter(Kirigami.Theme.highlightColor, 1.3)
|
||||||
|
|
||||||
Accessible.role: Accessible.Button
|
Accessible.role: Accessible.Button
|
||||||
Accessible.name: entry.title
|
Accessible.name: entry ? entry.title : ""
|
||||||
Accessible.onPressAction: {
|
Accessible.onPressAction: {
|
||||||
listItem.clicked();
|
listItem.clicked();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue