summaryrefslogtreecommitdiff
path: root/doGui.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-09 09:30:39 -0500
committerJeff Carr <[email protected]>2025-03-09 09:30:39 -0500
commit2495995e6e50be78e8501eeeaf1a1b7cf067e6ae (patch)
treecb4b867efc5402cfcab7ab9ffcfc315a5140aa73 /doGui.go
parent66000419bf15cb255e436db44a2a74bf104484e3 (diff)
testing ConfigSave() and load
Diffstat (limited to 'doGui.go')
-rw-r--r--doGui.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/doGui.go b/doGui.go
index 94245a6..9240cf6 100644
--- a/doGui.go
+++ b/doGui.go
@@ -53,6 +53,10 @@ func doGui() {
grid.NewButton("Events", func() {
log.Info("todo: start a list here!")
+ pm := me.portmaps.InsertByListen(5556)
+ pm.Connect = "haha. gotcha"
+ pm.Enabled = true
+ me.portmaps.ConfigSave()
})
// sit here forever refreshing the GUI