diff --git a/src/qml/Chat/Banners/LeftBanner.qml b/src/qml/Chat/Banners/LeftBanner.qml index 8251ee80..7c9ea806 100644 --- a/src/qml/Chat/Banners/LeftBanner.qml +++ b/src/qml/Chat/Banners/LeftBanner.qml @@ -24,6 +24,7 @@ Banner { py.callClientCoro( chatPage.userId, "room_forget", [chatPage.roomId], () => { button.loading = false + Qt.callLater(pageStack.showPage, "Default") }) } }) diff --git a/src/qml/Chat/Chat.qml b/src/qml/Chat/Chat.qml index 3e2a6c00..981aeea7 100644 --- a/src/qml/Chat/Chat.qml +++ b/src/qml/Chat/Chat.qml @@ -18,7 +18,6 @@ HPage { readonly property var roomInfo: Utils.getItem( modelSources[["Room", userId]] || [], "room_id", roomId ) || "waiting" - onRoomInfoChanged: if (! roomInfo) { pageStack.showPage("Default") } readonly property bool hasUnknownDevices: false diff --git a/src/qml/SidePane/PaneToolBar.qml b/src/qml/SidePane/PaneToolBar.qml index 417f1d89..69e1e3cd 100644 --- a/src/qml/SidePane/PaneToolBar.qml +++ b/src/qml/SidePane/PaneToolBar.qml @@ -29,8 +29,6 @@ HRowLayout { onTextChanged: { if (window.uiState.sidePaneFilter == text) return - - print("save") window.uiState.sidePaneFilter = text window.uiStateChanged() }