From 5c75de68eaf17fa0c14e450e2763a554c5897e04 Mon Sep 17 00:00:00 2001 From: miruka Date: Mon, 19 Aug 2019 18:40:23 -0400 Subject: [PATCH] Don't run ToggleCollapseAccount() if filter active --- src/qml/SidePane/AccountRoomList.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/SidePane/AccountRoomList.qml b/src/qml/SidePane/AccountRoomList.qml index c1edfb40..61e9dbd0 100644 --- a/src/qml/SidePane/AccountRoomList.qml +++ b/src/qml/SidePane/AccountRoomList.qml @@ -62,7 +62,7 @@ HListView { } function toggleCollapseAccount() { - if (! currentItem) return + if (! currentItem || filter) return if (currentItem.item.delegateModel.type == "Account") { currentItem.item.toggleCollapse()