diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-07-21 18:37:00 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-07-21 18:37:00 +1000 |
commit | d832eab20cfa1cd9353a57e4218632af455b32ca (patch) | |
tree | 655ea784b5d661273b79574bb9760ea705bbe072 /stash_panel.go | |
parent | fab194e9239c28e20191848c1d6a9c7b4f4c7fc6 (diff) |
loading animation for confirmation view
Diffstat (limited to 'stash_panel.go')
-rw-r--r-- | stash_panel.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/stash_panel.go b/stash_panel.go index 2f80b0f0b..09b092fbb 100644 --- a/stash_panel.go +++ b/stash_panel.go @@ -63,10 +63,9 @@ func handleStashPop(g *gocui.Gui, v *gocui.View) error { } func handleStashDrop(g *gocui.Gui, v *gocui.View) error { - return createConfirmationPanel(g, v, "Stash drop", "Are you sure you want to drop this stash entry?", func(g *gocui.Gui, v *gocui.View) error { - return stashDo(g, v, "drop") - }, nil) - return nil + return createConfirmationPanel(g, v, "Stash drop", "Are you sure you want to drop this stash entry?", func(g *gocui.Gui, v *gocui.View) error { + return stashDo(g, v, "drop") + }, nil) } func stashDo(g *gocui.Gui, v *gocui.View, method string) error { |