diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-20 08:53:10 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 14:29:18 +1000 |
commit | 146722beb875d6f44a9d05b289e1cf92e8518932 (patch) | |
tree | 2694b571bcce5d1e2a1fa83815abd8d4682894aa /pkg/gui/stash_panel.go | |
parent | eb5e54e9fd649e556d8c639ff87fedbfe02ff8e9 (diff) |
rename to SelectedLineIdx
Diffstat (limited to 'pkg/gui/stash_panel.go')
-rw-r--r-- | pkg/gui/stash_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/stash_panel.go b/pkg/gui/stash_panel.go index 42a37cace..5f12d2462 100644 --- a/pkg/gui/stash_panel.go +++ b/pkg/gui/stash_panel.go @@ -8,7 +8,7 @@ import ( // list panel functions func (gui *Gui) getSelectedStashEntry() *commands.StashEntry { - selectedLine := gui.State.Panels.Stash.SelectedLine + selectedLine := gui.State.Panels.Stash.SelectedLineIdx if selectedLine == -1 { return nil } |