aboutsummaryrefslogtreecommitdiffstats
path: root/termui/error_popup.go
diff options
context:
space:
mode:
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 {