diff options
Diffstat (limited to 'pkg/gui/context/list_context_trait.go')
-rw-r--r-- | pkg/gui/context/list_context_trait.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/context/list_context_trait.go b/pkg/gui/context/list_context_trait.go index 6deb5dfc1..e508c8029 100644 --- a/pkg/gui/context/list_context_trait.go +++ b/pkg/gui/context/list_context_trait.go @@ -43,7 +43,7 @@ func (self *ListContextTrait) HandleFocus(opts ...types.OnFocusOpts) error { func (self *ListContextTrait) HandleFocusLost() error { self.viewTrait.SetOriginX(0) - return self.Context.HandleFocus() + return self.Context.HandleFocusLost() } // OnFocus assumes that the content of the context has already been rendered to the view. OnRender is the function which actually renders the content to the view |