diff --git a/src/qml/Page/RoomList/ExploreComponent.qml b/src/qml/Page/RoomList/ExploreComponent.qml index 364632a94..ef92125f4 100644 --- a/src/qml/Page/RoomList/ExploreComponent.qml +++ b/src/qml/Page/RoomList/ExploreComponent.qml @@ -40,7 +40,7 @@ RowLayout { text: i18n("Create a Space") icon.name: "list-add" onTriggered: { - let dialog = createSpaceDialog.createObject(root.overlay); + let dialog = createSpaceDialog.createObject(applicationWindow().overlay); dialog.open() } }