src/Builder4/MainWindow.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 31 Jan 2024 09:15:36 +0000 (17:15 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 31 Jan 2024 09:15:36 +0000 (17:15 +0800)
src/Builder4/MainWindow.vala

src/Builder4/MainWindow.bjs
src/Builder4/MainWindow.vala

index ac2e5e7..1d5da6c 100644 (file)
@@ -42,7 +42,7 @@
            "  \t\t_this.filesearch.el.grab_focus();",
            "  \t\t_this.winfilter.el.set_model(new GLib.ListStore(typeof(WindowState)));",
            "  \t\t_this.winfilter.el.set_model(BuilderApplication.windowlist);",
-           "  \t\t",
+           "  \t\tGLib.debug(\"show windfilter with %d items\", BuilderApplication.windowlist.get_n_items());",
            "\t}",
            "}"
           ]
index 84b8312..8a3cf33 100644 (file)
@@ -260,7 +260,7 @@ public class Xcls_MainWindow : Object
                                        _this.filesearch.el.grab_focus();
                                        _this.winfilter.el.set_model(new GLib.ListStore(typeof(WindowState)));
                                        _this.winfilter.el.set_model(BuilderApplication.windowlist);
-                                       
+                                       GLib.debug("show windfilter with %d items", BuilderApplication.windowlist.get_n_items());
                                }
                        });
                }