summaryrefslogtreecommitdiff
path: root/doGui.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-10 07:08:28 -0500
committerJeff Carr <[email protected]>2025-03-10 07:59:25 -0500
commit18c1221efc1a4e6b97afb5547d44055a29150dff (patch)
tree0b449cd41ec8044e90a0286ab76437a73088e40d /doGui.go
parent22d07987494113dc85542b753c3ecc7e9db37511 (diff)
show last 20 events works
Diffstat (limited to 'doGui.go')
-rw-r--r--doGui.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/doGui.go b/doGui.go
index ab03b89..9584624 100644
--- a/doGui.go
+++ b/doGui.go
@@ -51,12 +51,7 @@ func doGui() {
makePortmapWin()
})
- grid.NewButton("Save Events", func() {
- log.Info("event log is len =", me.events.Len())
- me.events.Save()
- })
-
- grid.NewButton("Show Last 20 Events", func() {
+ grid.NewButton("Show Events", func() {
// if the window exists, just toggle it open or closed
if me.eventswin != nil {
me.eventswin.Toggle()