From 435bbdaf229b375d88f90cd914e56caf415f2aaf Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 10 Jul 2020 10:42:42 -0400 Subject: [PATCH] Fix highlight when ctrl-tabbing to AddNewChat page --- TODO.md | 1 - src/gui/MainPane/RoomList.qml | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TODO.md b/TODO.md index 1fcfb0b6..a3d6fc69 100644 --- a/TODO.md +++ b/TODO.md @@ -2,7 +2,6 @@ - fix members not synced bug - fix local unread counters order -- fix highlight when logging in to new account - warn about no E2E room shared if no devices ## Refactoring diff --git a/src/gui/MainPane/RoomList.qml b/src/gui/MainPane/RoomList.qml index 221170b0..1113660c 100644 --- a/src/gui/MainPane/RoomList.qml +++ b/src/gui/MainPane/RoomList.qml @@ -79,7 +79,8 @@ HListView { property string filter: "" readonly property bool currentShouldBeAccount: - window.uiState.page === "Pages/AccountSettings/AccountSettings.qml" + window.uiState.page === "Pages/AccountSettings/AccountSettings.qml" || + window.uiState.page === "Pages/AddChat/AddChat.qml" readonly property bool currentShouldBeRoom: window.uiState.page === "Pages/Chat/Chat.qml" readonly property string wantedUserId: