From bccb86a4c50d1a670b0c1d5f2382ff240e76a160 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Sat, 23 Mar 2024 15:38:57 +0800 Subject: [PATCH] src/Builder4/Editor.bjs src/Builder4/Editor.vala --- src/Builder4/Editor.bjs | 2 +- src/Builder4/Editor.vala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Builder4/Editor.bjs b/src/Builder4/Editor.bjs index 2c05381dc..5fc31de9e 100644 --- a/src/Builder4/Editor.bjs +++ b/src/Builder4/Editor.bjs @@ -1081,7 +1081,7 @@ ], "$ xns" : "Gtk", "* prop" : "model", - "bool autoexpand" : true, + "bool autoexpand" : false, "bool passthrough" : false, "items" : [ { diff --git a/src/Builder4/Editor.vala b/src/Builder4/Editor.vala index 7fbee52e5..0f854a58a 100644 --- a/src/Builder4/Editor.vala +++ b/src/Builder4/Editor.vala @@ -2229,7 +2229,7 @@ public class Editor : Object { _this = _owner; new Xcls_navliststore( _this ); - this.el = new Gtk.TreeListModel( _this.navliststore.el, false, true, (item) => { + this.el = new Gtk.TreeListModel( _this.navliststore.el, false, false, (item) => { return ((Lsp.DocumentSymbol)item).children; } -- 2.39.2