Close RoomWindow when leaving room

BUG: 454995
This commit is contained in:
Tobias Fella
2022-11-21 23:25:54 +01:00
committed by Carl Schwan
parent 149ca05423
commit d647bae102

View File

@@ -22,4 +22,8 @@ Kirigami.ApplicationWindow {
currentRoom: window.currentRoom
disableCancelShortcut: true
}
onCurrentRoomChanged: if (!currentRoom) {
window.close()
}
}