1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-10 11:10:18 +02:00

run task for appropriate view

This commit is contained in:
Jesse Duffield 2020-08-23 11:45:43 +10:00
parent bd66162972
commit 55e6366529

View File

@ -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
}