mirror of https://github.com/KDE/kasts.git
Allow only one entry on the pagestack
This commit is contained in:
parent
76c61c60bb
commit
1cc71b0614
|
@ -26,6 +26,8 @@ Kirigami.SwipeListItem {
|
|||
bold: !model.entry.read
|
||||
|
||||
onClicked: {
|
||||
if(pageStack.depth > 2)
|
||||
pageStack.pop()
|
||||
model.entry.read = true
|
||||
pageStack.push("qrc:/EntryPage.qml", {"entry": model.entry})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue