From 9b837a8656e0a3fdd9f19cdf62a56ebeea51f3a4 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Tue, 24 Sep 2024 18:14:14 +0200 Subject: [PATCH] SelectParentDialog: Fix selecting room --- src/qml/SelectParentDialog.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/SelectParentDialog.qml b/src/qml/SelectParentDialog.qml index 8fc25785c..52121ccc3 100644 --- a/src/qml/SelectParentDialog.qml +++ b/src/qml/SelectParentDialog.qml @@ -49,7 +49,7 @@ Kirigami.Dialog { visible: !chosenRoomDelegate.visible text: i18nc("@action:button", "Pick room") onClicked: { - let dialog = pageStack.pushDialogLayer(Qt.createComponent('org.kde.neochat', 'ExploreRoomsPage'), { + let dialog = QQC2.ApplicationWindow.window.pageStack.pushDialogLayer(Qt.createComponent('org.kde.neochat', 'ExploreRoomsPage'), { connection: root.room.connection, showOnlySpaces: true, showOnlySpacesButton: false