diff options
author | link2xt <link2xt@testrun.org> | 2021-02-27 00:44:25 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-02-27 00:44:25 +0300 |
commit | 698f2fde901dd9accd7837448e910d0e2c91563d (patch) | |
tree | bc6039f37cfef67711ab7b5c41241af751ff22f4 /qml/AccountsPage.qml | |
parent | 806f1cbe695914e7e7206e6dcffc4b47ffe43330 (diff) | |
download | kdeltachat-698f2fde901dd9accd7837448e910d0e2c91563d.tar.gz kdeltachat-698f2fde901dd9accd7837448e910d0e2c91563d.zip |
Replace accounts page when account is selected
Account management should be moved to an overlay or left panel,
not available all the time as a first page.
Diffstat (limited to 'qml/AccountsPage.qml')
-rw-r--r-- | qml/AccountsPage.qml | 4 |
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}) } } } |