diff --git a/doGui.go b/doGui.go index bb1259c..829c754 100644 --- a/doGui.go +++ b/doGui.go @@ -77,10 +77,16 @@ func drawWindow(win *gadgets.BasicWindow) { newwin.Show() }) + grid.NewButton("me.machines.ShowTable()", func() { + t := me.machines.NewTable("test 2") + t.ShowTable() + }) + grid.NewButton("ConfigSave(me.machines)", func() { log.Info("saving config...") me.machines.ConfigSave() }) + grid.NewButton("ConfigSave(me.machines2)", func() { log.Info("saving config...") me.machines2.ConfigSave()