diff --git a/src/rooms/RoomListPage.qml b/src/rooms/RoomListPage.qml index 4ff944931..e558128b3 100644 --- a/src/rooms/RoomListPage.qml +++ b/src/rooms/RoomListPage.qml @@ -95,7 +95,8 @@ Kirigami.Page { Connections { target: RoomManager function onCurrentSpaceChanged() { - treeView.expandRecursively(); + // HACK: If we don't delay this, it attempts to expand the tree while it's half or not loaded at all. + Qt.callLater(() => treeView.expandRecursively()); } }