summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui.go8
1 files changed, 7 insertions, 1 deletions
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 {