Several Fixes
This commit is contained in:
@@ -101,7 +101,9 @@ func (w *TopMenuLayout) HandleKey(ev *tcell.EventKey) bool {
|
||||
// If we're here, that means the menu isn't active, but we are. So the
|
||||
// widget should be.
|
||||
w.widget.SetActive(true)
|
||||
return w.widget.HandleKey(ev)
|
||||
ret := w.widget.HandleKey(ev)
|
||||
w.widget.SetActive(true)
|
||||
return ret
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user