From 9c5ef7afe4fccd1221b594265d01aac8e2857b4a Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Sun, 16 Jun 2024 15:55:09 +0200 Subject: 🛠️ Apply filter for results with children. Fixes #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: -- cgit v1.3.1