diff options
Diffstat (limited to 'qml')
-rw-r--r-- | qml/AccountsPage.qml | 2 | ||||
-rw-r--r-- | qml/ChatlistPage.qml | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/qml/AccountsPage.qml b/qml/AccountsPage.qml index 7f23776..0088777 100644 --- a/qml/AccountsPage.qml +++ b/qml/AccountsPage.qml @@ -110,7 +110,7 @@ Kirigami.Page { dcAccounts.selectAccount(model.number) let context = dcAccounts.getSelectedAccount() if (context.isConfigured()) { - pageStack.replace("qrc:/qml/ChatlistPage.qml", {context: context}) + pageStack.replace("qrc:/qml/ChatlistPage.qml", {context: context, eventEmitter: eventEmitter}) } else { pageStack.replace("qrc:/qml/ConfigurePage.qml", {context: context, eventEmitter: eventEmitter}) } diff --git a/qml/ChatlistPage.qml b/qml/ChatlistPage.qml index a5bc1ed..d095025 100644 --- a/qml/ChatlistPage.qml +++ b/qml/ChatlistPage.qml @@ -11,6 +11,7 @@ Kirigami.ScrollablePage { id: chatlistPage required property DcContext context + required property DcAccountsEventEmitter eventEmitter signal messagesChanged onMessagesChanged: { |