diff --git a/pkg/gui/context/patch_explorer_context.go b/pkg/gui/context/patch_explorer_context.go index c9144e1ab..79d585a12 100644 --- a/pkg/gui/context/patch_explorer_context.go +++ b/pkg/gui/context/patch_explorer_context.go @@ -94,11 +94,6 @@ func (self *PatchExplorerContext) Render() { self.c.Render() } -func (self *PatchExplorerContext) Focus() { - self.FocusSelection() - self.c.Render() -} - func (self *PatchExplorerContext) setContent() { self.GetView().SetContent(self.GetContentToRender()) } diff --git a/pkg/gui/types/context.go b/pkg/gui/types/context.go index 1c9759486..bbca0147a 100644 --- a/pkg/gui/types/context.go +++ b/pkg/gui/types/context.go @@ -192,7 +192,6 @@ type IPatchExplorerContext interface { GetIncludedLineIndices() []int RenderAndFocus() Render() - Focus() GetContentToRender() string NavigateTo(selectedLineIdx int) GetMutex() *deadlock.Mutex