Remember Space
Save the last space entered so it can be recalled on startup
This commit is contained in:
@@ -21,7 +21,14 @@ QQC2.Control {
|
||||
topPadding: 0
|
||||
bottomPadding: 0
|
||||
|
||||
property string selectedSpaceId
|
||||
property string selectedSpaceId: RoomManager.lastSpaceId
|
||||
Connections {
|
||||
target: RoomManager
|
||||
function onConnectionChanged() {
|
||||
// We need to rebind as any previous change will have been overwritten.
|
||||
selectedSpaceId = RoomManager.lastSpaceId
|
||||
}
|
||||
}
|
||||
|
||||
property bool showDirectChats: false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user