home · contact · privacy
In browser.py, fix broken float input filter handling.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 10 Sep 2024 03:57:01 +0000 (05:57 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 10 Sep 2024 03:57:01 +0000 (05:57 +0200)
browser.py

index 9290f52f0e028c3323b99018dbf3ffd4cd1570da..59b562d04441ac295b55f7ca1febdd4627aef3e7 100755 (executable)
@@ -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()