Highlight currently select account/room delegate

This commit is contained in:
miruka
2019-08-17 16:59:13 -04:00
parent 2e89dcae9e
commit 7319c8d7b4
7 changed files with 24 additions and 10 deletions

View File

@@ -28,6 +28,10 @@ Column {
height: childrenRect.height
color: theme.sidePane.account.background
checked:
window.uiState.page == "Pages/EditAccount/EditAccount.qml" &&
window.uiState.pageProperties.userId == model.user_id
TapHandler {
onTapped: pageStack.showPage(
"EditAccount/EditAccount", { "userId": model.user_id }