diff options
| author | Jeff Carr <[email protected]> | 2024-01-06 21:02:41 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-06 21:02:41 -0600 |
| commit | 5e9f1591cab5602ac9d9f6e6a24f83ba5dc86126 (patch) | |
| tree | fc9530a4361b411dac492061f14cd749cc706621 /gui.go | |
| parent | de051d06f33a401231baf1651727d31a18261052 (diff) | |
update worked correctly for the first time
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gui.go')
| -rw-r--r-- | gui.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -193,7 +193,10 @@ func mainWindow(title string) { me.digStatus.window.Toggle() }) gr.NewButton("cloudflare wit.com", func () { - cloudflare.CreateRR(me.myGui, "wit.com", "3777302ac4a78cd7fa4f6d3f72086d06") + if me.witcom != nil { + me.witcom.Toggle() + } + me.witcom = cloudflare.CreateRR(me.myGui, "wit.com", "3777302ac4a78cd7fa4f6d3f72086d06") }) gr.NewButton("Debug", func () { me.debug.Toggle() |
