aboutsummaryrefslogtreecommitdiffstats
path: root/termui/error_popup.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-08-01 02:15:40 +0200
committerMichael Muré <batolettre@gmail.com>2018-08-01 02:17:06 +0200
commitc875d40e631f83507b602807480be96dae05fc85 (patch)
treea81b0909eda009acb395d936d1e2bf09e03cff3a /termui/error_popup.go
parent2f88c28c59ce0480e64dfba6d820dc6f7589a6cf (diff)
downloadgit-bug-c875d40e631f83507b602807480be96dae05fc85.tar.gz
termui: add a view to display a bug
Diffstat (limited to 'termui/error_popup.go')
-rw-r--r--termui/error_popup.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/termui/error_popup.go b/termui/error_popup.go
index f0af5a93..7ec6b783 100644
--- a/termui/error_popup.go
+++ b/termui/error_popup.go
@@ -62,8 +62,7 @@ func (ep *errorPopup) layout(g *gocui.Gui) error {
func (ep *errorPopup) close(g *gocui.Gui, v *gocui.View) error {
ep.err = ""
- g.DeleteView(errorPopupView)
- return nil
+ return g.DeleteView(errorPopupView)
}
func (ep *errorPopup) isActive() bool {