From 9c5ef7afe4fccd1221b594265d01aac8e2857b4a Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Sun, 16 Jun 2024 15:55:09 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F=20Apply=20filter=20for=20?= =?UTF-8?q?results=20with=20children.=20Fixes=20#130?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/helper/gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidal_dl_ng/helper/gui.py b/tidal_dl_ng/helper/gui.py index a312c02..187f6a8 100644 --- a/tidal_dl_ng/helper/gui.py +++ b/tidal_dl_ng/helper/gui.py @@ -192,7 +192,7 @@ class HumanProxyModel(QtCore.QSortFilterProxyModel): data = ix.data() # Append results to list to enable an AND operator for filtering. - result.append(bool(re.search(rf"{text}", data, re.MULTILINE | re.IGNORECASE))) + result.append(bool(re.search(rf"{text}", data, re.MULTILINE | re.IGNORECASE)) if data else False) # If no filter set, just set the result to True. if not result: