diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-10-08 08:01:04 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-10-10 00:23:01 +1100 |
commit | 4c9ec88be57ed75c198d19020374bae0365b6e00 (patch) | |
tree | 8b69a8fd7ab64009aa028c61bd9a8a109a721efd /pkg/gui/gui.go | |
parent | 9011271a014025c514adf72b1d1ee69fbc7f3373 (diff) |
fix mutex deadlock
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r-- | pkg/gui/gui.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go index d928413e7..f0e36daf5 100644 --- a/pkg/gui/gui.go +++ b/pkg/gui/gui.go @@ -142,7 +142,7 @@ type IListPanelState interface { // for now the staging panel state, unlike the other panel states, is going to be // non-mutative, so that we don't accidentally end up // with mismatches of data. We might change this in the future -type lineByLinePanelState struct { +type lBlPanelState struct { SelectedLineIdx int FirstLineIdx int LastLineIdx int @@ -234,7 +234,7 @@ type panelStates struct { SubCommits *subCommitPanelState Stash *stashPanelState Menu *menuPanelState - LineByLine *lineByLinePanelState + LineByLine *lBlPanelState Merging *mergingPanelState CommitFiles *commitFilesPanelState Submodules *submodulePanelState |