diff options
-rw-r--r-- | pkg/gui/main_panels.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/main_panels.go b/pkg/gui/main_panels.go index d56856f6f..3cff20be6 100644 --- a/pkg/gui/main_panels.go +++ b/pkg/gui/main_panels.go @@ -134,7 +134,7 @@ func (gui *Gui) refreshMainView(opts *viewUpdateOpts, viewName string) error { view.Wrap = !opts.noWrap view.Highlight = opts.highlight - if err := gui.runTaskForView("main", opts.task); err != nil { + if err := gui.runTaskForView(viewName, opts.task); err != nil { gui.Log.Error(err) return nil } |