added missing Show()
This commit is contained in:
parent
c39117d132
commit
58f530f8bf
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue