Push a new layer when entering About Page in the SMS App
This commit replaces `pageStack.push...` to `pageStack.layers.push...` when entering the About Page in the SMS App. BUG: 423932
This commit is contained in:
parent
0d697a6452
commit
c0cbcc0d36
1 changed files with 4 additions and 2 deletions
|
@ -33,10 +33,12 @@ Kirigami.ApplicationWindow
|
|||
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
text: i18nd("kdeconnect-sms", "About...")
|
||||
text: i18nd("kdeconnect-sms", "About")
|
||||
icon.name: "help-about"
|
||||
onTriggered: {
|
||||
applicationWindow().pageStack.push(aboutPageComponent, { aboutData: aboutData });
|
||||
if (applicationWindow().pageStack.layers.depth < 2) {
|
||||
applicationWindow().pageStack.layers.push(aboutPageComponent, { aboutData: aboutData })
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue