fix issue caused by opening a menu over a prompt

This commit is contained in:
Jesse Duffield 2022-08-01 21:36:17 +10:00
parent 81f80ce968
commit fab2e14b55
4 changed files with 40 additions and 18 deletions

View file

@ -43,7 +43,7 @@ func (self *guiCommon) PushContext(context types.Context, opts ...types.OnFocusO
}
func (self *guiCommon) PopContext() error {
return self.gui.returnFromContext()
return self.gui.popContext()
}
func (self *guiCommon) CurrentContext() types.Context {