diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-12-04 19:50:11 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-12-08 11:51:47 +1100 |
commit | 99a8b1ae8bb93565df8acbe168749278dc768979 (patch) | |
tree | 06f3707ff08a879cf9fac550cf71f42bbe0215bf /pkg/gui/stash_panel.go | |
parent | ccc771d8b13d5b0d4635db4463556366470fd4f6 (diff) |
making a start on unidirectional data binding to fix these UI bugs
Diffstat (limited to 'pkg/gui/stash_panel.go')
-rw-r--r-- | pkg/gui/stash_panel.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pkg/gui/stash_panel.go b/pkg/gui/stash_panel.go index 62b4efda7..196a33a08 100644 --- a/pkg/gui/stash_panel.go +++ b/pkg/gui/stash_panel.go @@ -37,14 +37,7 @@ func (gui *Gui) getSelectedStashEntry(v *gocui.View) *commands.StashEntry { return gui.State.StashEntries[lineNumber] } -func (gui *Gui) renderStashOptions(g *gocui.Gui) error { - return gui.renderGlobalOptions(g) -} - func (gui *Gui) handleStashEntrySelect(g *gocui.Gui, v *gocui.View) error { - if err := gui.renderStashOptions(g); err != nil { - return err - } go func() { stashEntry := gui.getSelectedStashEntry(v) if stashEntry == nil { |