Deselect space when leaving it
BUG: 473271
This commit is contained in:
committed by
Tobias Fella
parent
cbed8148a3
commit
cc60dde62d
@@ -72,7 +72,12 @@ QQC2.Control {
|
||||
connection: Controller.activeConnection
|
||||
}
|
||||
}
|
||||
onCountChanged: root.enabled = count > 0
|
||||
onCountChanged: {
|
||||
root.enabled = count > 0
|
||||
if (!Controller.activeConnection.room(root.selectedSpaceId)) {
|
||||
root.selectedSpaceId = ""
|
||||
}
|
||||
}
|
||||
Component.onCompleted: root.enabled = count > 0
|
||||
|
||||
delegate: AvatarTabButton {
|
||||
|
||||
Reference in New Issue
Block a user