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:
parent
bd66162972
commit
55e6366529
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user