@@ -190,6 +190,8 @@ Kirigami.ApplicationWindow {
|
|||||||
RoomList.Page {
|
RoomList.Page {
|
||||||
id: roomList
|
id: roomList
|
||||||
|
|
||||||
|
connection: Controller.activeConnection
|
||||||
|
|
||||||
Shortcut {
|
Shortcut {
|
||||||
sequences: ["Ctrl+PgUp", "Ctrl+Backtab", "Alt+Up"]
|
sequences: ["Ctrl+PgUp", "Ctrl+Backtab", "Alt+Up"]
|
||||||
onActivated: {
|
onActivated: {
|
||||||
@@ -239,9 +241,7 @@ Kirigami.ApplicationWindow {
|
|||||||
if (AccountRegistry.accountCount === 0) {
|
if (AccountRegistry.accountCount === 0) {
|
||||||
pageStack.replace("qrc:/WelcomePage.qml", {});
|
pageStack.replace("qrc:/WelcomePage.qml", {});
|
||||||
} else if (!roomListLoaded) {
|
} else if (!roomListLoaded) {
|
||||||
pageStack.replace(roomListComponent, {
|
pageStack.replace(roomListComponent);
|
||||||
connection: Controller.activeConnection
|
|
||||||
});
|
|
||||||
roomListLoaded = true;
|
roomListLoaded = true;
|
||||||
roomListPage = pageStack.currentItem
|
roomListPage = pageStack.currentItem
|
||||||
RoomManager.loadInitialRoom();
|
RoomManager.loadInitialRoom();
|
||||||
|
|||||||
Reference in New Issue
Block a user