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

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

index 1bec6fb..d2ffb48 100644 (file)
@@ -40,6 +40,7 @@
            "  \t_this.splitview.el.show_sidebar = !_this.splitview.el.show_sidebar;",
            "  \tif (_this.splitview.el.show_sidebar) {",
            "  \t\t_this.filesearch.el.grab_focus();",
+           "  \t\t",
            "  \t\t_this.winfilter.el.set_model(new GLib.ListStore(typeof(WindowState)));",
            "  \t\t_this.winfilter.el.set_model(BuilderApplication.windowlist);",
            "  \t\tGLib.debug(\"show windfilter with %d items\",",
index 2e051d4..b6b7118 100644 (file)
@@ -258,6 +258,7 @@ public class Xcls_MainWindow : Object
                                _this.splitview.el.show_sidebar = !_this.splitview.el.show_sidebar;
                                if (_this.splitview.el.show_sidebar) {
                                        _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",