From a08fb89918cc0cedb7f265292b06924b4efbbfaf Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Tue, 10 Sep 2024 05:57:01 +0200
Subject: [PATCH] In browser.py, fix broken float input filter handling.

---
 browser.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/browser.py b/browser.py
index 9290f52..59b562d 100755
--- a/browser.py
+++ b/browser.py
@@ -488,7 +488,7 @@ class MainWindow(Gtk.Window):
         """Apply user-set filters to gallery."""
 
         def number_filter(attr_name, filter_line, to_compare):
-            use_float = attr_name in GEN_PARAMS_FLOAT
+            use_float = attr_name.upper() in GEN_PARAMS_FLOAT
             constraint_strings = filter_line.split(',')
             numbers_or = set()
             unequal = set()
-- 
2.30.2