From 0db9c0454fd28cecc3f8abf1ae6a43f12a0652d9 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Fri, 28 May 2021 13:14:53 +0200 Subject: [PATCH] pushReplace more (cherry picked from commit 7cd9f788dd9b84ce4a33a4401a0d050f00553660) --- qml/main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qml/main.qml b/qml/main.qml index ad6a24df3..e3557bfa0 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -192,7 +192,7 @@ Kirigami.ApplicationWindow { Kirigami.Action { text: i18n("Devices") iconName: "network-connect" - onTriggered: pageStack.layers.push("qrc:/imports/NeoChat/Page/DevicesPage.qml") + onTriggered: pushReplaceLayer("qrc:/imports/NeoChat/Page/DevicesPage.qml") enabled: pageStack.layers.currentItem.title !== i18n("Devices") && Controller.accountCount > 0 }, Kirigami.Action {