From 6975a01480e10ae5bffc2b928702e6690a476ba4 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 18 Oct 2025 09:24:29 -0500 Subject: gui is limping around now --- gui.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gui.go') diff --git a/gui.go b/gui.go index 6d6e208..0d77634 100644 --- a/gui.go +++ b/gui.go @@ -88,10 +88,16 @@ func Gui() *GuiPrep { arg.Register(&argGui) prepGui = new(GuiPrep) - prepGui.rootn = gui.PreInit(postMustParse) + // prepGui.rootn = gui.PreInit(postMustParse) + prepGui.rootn = gui.PreInit() return prepGui } +// me.gui = me.myGui.Init() +func (g *GuiPrep) Init() *gui.Node { + return g.rootn +} + func (g *GuiPrep) Start() error { // me.myGui.InitEmbed(resources) if pname, err := g.rootn.Default(); err != nil { -- cgit v1.2.3