Fix about page broken

This commit is contained in:
Carl Schwan
2020-11-22 12:31:54 +01:00
parent c17441cc25
commit 21a228622c

View File

@@ -127,7 +127,7 @@ Kirigami.ApplicationWindow {
Kirigami.Action {
text: i18n("About Neochat")
iconName: "help-about"
onTriggered: pushReplaceLayer("qrc:/imports/NeoChat/Page/AboutPage.qml")
onTriggered: pushReplaceLayer(aboutPage)
enabled: pageStack.layers.currentItem.title !== i18n("About")
}
]