Fix room list highlight when adding new account

- Unset highlight when going to the add new account page
- After login, highlight the account related to the profile page that
  gets switched to
This commit is contained in:
miruka 2020-07-10 10:33:00 -04:00
parent 199940ab19
commit 0ea23dcb6f

View File

@ -24,7 +24,10 @@ Rectangle {
icon.name: "add-account" icon.name: "add-account"
toolTip.text: qsTr("Add another account") toolTip.text: qsTr("Add another account")
backgroundColor: theme.mainPane.bottomBar.settingsButtonBackground backgroundColor: theme.mainPane.bottomBar.settingsButtonBackground
onClicked: pageLoader.showPage("AddAccount/AddAccount") onClicked: {
pageLoader.showPage("AddAccount/AddAccount")
roomList.startCorrectItemSearch()
}
Layout.fillHeight: true Layout.fillHeight: true