summaryrefslogtreecommitdiffstats
path: root/stash_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-07-21 18:37:00 +1000
committerJesse Duffield <jessedduffield@gmail.com>2018-07-21 18:37:00 +1000
commitd832eab20cfa1cd9353a57e4218632af455b32ca (patch)
tree655ea784b5d661273b79574bb9760ea705bbe072 /stash_panel.go
parentfab194e9239c28e20191848c1d6a9c7b4f4c7fc6 (diff)
loading animation for confirmation view
Diffstat (limited to 'stash_panel.go')
-rw-r--r--stash_panel.go7
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 {