Show Default.qml from forget room button callback
This commit is contained in:
parent
6a7376d498
commit
69a3f4377d
|
@ -24,6 +24,7 @@ Banner {
|
|||
py.callClientCoro(
|
||||
chatPage.userId, "room_forget", [chatPage.roomId], () => {
|
||||
button.loading = false
|
||||
Qt.callLater(pageStack.showPage, "Default")
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -29,8 +29,6 @@ HRowLayout {
|
|||
|
||||
onTextChanged: {
|
||||
if (window.uiState.sidePaneFilter == text) return
|
||||
|
||||
print("save")
|
||||
window.uiState.sidePaneFilter = text
|
||||
window.uiStateChanged()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user