aboutsummaryrefslogtreecommitdiff
path: root/qml/AccountsPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml/AccountsPage.qml')
-rw-r--r--qml/AccountsPage.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/qml/AccountsPage.qml b/qml/AccountsPage.qml
index a186989..b48a4e4 100644
--- a/qml/AccountsPage.qml
+++ b/qml/AccountsPage.qml
@@ -110,9 +110,9 @@ Kirigami.Page {
dcAccounts.selectAccount(model.number)
let context = dcAccounts.getSelectedAccount()
if (context.isConfigured()) {
- pageStack.push("qrc:/qml/ChatlistPage.qml", {context: context})
+ pageStack.replace("qrc:/qml/ChatlistPage.qml", {context: context})
} else {
- pageStack.push("qrc:/qml/ConfigurePage.qml", {context: context})
+ pageStack.replace("qrc:/qml/ConfigurePage.qml", {context: context})
}
}
}