src/Builder4/PopoverFiles.bjs
authorAlan <alan@roojs.com>
Fri, 2 Sep 2022 04:34:16 +0000 (12:34 +0800)
committerAlan <alan@roojs.com>
Fri, 2 Sep 2022 04:34:16 +0000 (12:34 +0800)
src/Builder4/PopoverFiles.vala

src/Builder4/PopoverFiles.bjs
src/Builder4/PopoverFiles.vala

index 236aafb..c96383e 100644 (file)
                "( ) => {",
                "\tGLib.debug(\"Got '%s'\", this.el.text);",
                "\t",
-               "\tif (this.el.text != _this.lastfilter) {",
+               "\tif (this.el.text.down() != _this.lastfilter) {",
                "\t\t_this.loadIconView();",
                "\t}",
                "}",
index 6d9e305..953de36 100644 (file)
@@ -886,7 +886,7 @@ public class Xcls_PopoverFiles : Object
             this.el.changed.connect( ( ) => {
                GLib.debug("Got '%s'", this.el.text);
                
-               if (this.el.text != _this.lastfilter) {
+               if (this.el.text.down() != _this.lastfilter) {
                        _this.loadIconView();
                }
             });