diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-10-07 17:54:45 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-10-10 00:23:01 +1100 |
commit | bb081ca764e42a5cfa67a0dd42acbdef4ae57e05 (patch) | |
tree | 05286869aa465ce0c7097641c6564cea2e6088c9 /pkg/gui/line_by_line_panel.go | |
parent | a9049b4a82e733521a0249c458eee0e9fdd1295f (diff) |
more mutex safety with staging panel
Diffstat (limited to 'pkg/gui/line_by_line_panel.go')
-rw-r--r-- | pkg/gui/line_by_line_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/line_by_line_panel.go b/pkg/gui/line_by_line_panel.go index bd74d0fc6..cb93468a3 100644 --- a/pkg/gui/line_by_line_panel.go +++ b/pkg/gui/line_by_line_panel.go @@ -341,7 +341,7 @@ func (gui *Gui) handleToggleSelectHunk() error { } func (gui *Gui) escapeLineByLinePanel() { - gui.withLBLActiveCheck(func(*lineByLinePanelState) error { + _ = gui.withLBLActiveCheck(func(*lineByLinePanelState) error { gui.State.Panels.LineByLine = nil return nil }) |