diff --git a/pkg/gui/view_helpers.go b/pkg/gui/view_helpers.go index 706f5863b..383550d91 100644 --- a/pkg/gui/view_helpers.go +++ b/pkg/gui/view_helpers.go @@ -153,7 +153,9 @@ func (gui *Gui) postRefreshUpdate(c types.Context) { // either search or change their data, but not both at the same time. if !currentCtx.GetView().IsSearching() { parentCtx := currentCtx.GetParentContext() - parentCtx.HandleRenderToMain() + if parentCtx.GetKey() == c.GetKey() { + parentCtx.HandleRenderToMain() + } } } }