diff options
| author | Jeff Carr <[email protected]> | 2024-02-13 16:17:08 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-13 16:17:08 -0600 |
| commit | 58f530f8bfc4327a93fb0c0a8438c5891d75d535 (patch) | |
| tree | 71429cc1a54dc0489067ef16090d53791a7723b4 | |
| parent | c39117d132dcba6efe484faaa0144facda990c21 (diff) | |
added missing Show()
| -rw-r--r-- | basicWindow.go | 1 | ||||
| -rw-r--r-- | oneLiner.go | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/basicWindow.go b/basicWindow.go index ac6d5eb..ec42c10 100644 --- a/basicWindow.go +++ b/basicWindow.go @@ -117,6 +117,7 @@ func (w *BasicWindow) StandardExit() { } w.win.Custom = func() { log.Log(GADGETS, "BasicWindow.Custom() closed. handled properly?", w.title) + w.hidden = true if w.Custom != nil { log.Log(GADGETS, "BasicWindow.Custom() HAS CUSTOM") w.Custom() diff --git a/oneLiner.go b/oneLiner.go index 13c3a53..14a1af7 100644 --- a/oneLiner.go +++ b/oneLiner.go @@ -54,6 +54,12 @@ func (n *OneLiner) Disable() { n.v.Hide() } +func (n *OneLiner) Show() { + log.Log(GADGETS, "OneLiner.Disable()") + n.l.Show() + n.v.Show() +} + func (n *OneLiner) Hide() { log.Log(GADGETS, "OneLiner.Disable()") n.l.Hide() |
