From 0ea23dcb6f33517b91b402233cd84ace3f9d3107 Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 10 Jul 2020 10:33:00 -0400 Subject: [PATCH] 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 --- src/gui/MainPane/BottomBar.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gui/MainPane/BottomBar.qml b/src/gui/MainPane/BottomBar.qml index 85f194ec..9de82fee 100644 --- a/src/gui/MainPane/BottomBar.qml +++ b/src/gui/MainPane/BottomBar.qml @@ -24,7 +24,10 @@ Rectangle { icon.name: "add-account" toolTip.text: qsTr("Add another account") backgroundColor: theme.mainPane.bottomBar.settingsButtonBackground - onClicked: pageLoader.showPage("AddAccount/AddAccount") + onClicked: { + pageLoader.showPage("AddAccount/AddAccount") + roomList.startCorrectItemSearch() + } Layout.fillHeight: true