Don't run ToggleCollapseAccount() if filter active

This commit is contained in:
miruka 2019-08-19 18:40:23 -04:00
parent d427465425
commit 5c75de68ea

View File

@ -62,7 +62,7 @@ HListView {
} }
function toggleCollapseAccount() { function toggleCollapseAccount() {
if (! currentItem) return if (! currentItem || filter) return
if (currentItem.item.delegateModel.type == "Account") { if (currentItem.item.delegateModel.type == "Account") {
currentItem.item.toggleCollapse() currentItem.item.toggleCollapse()