aboutsummaryrefslogtreecommitdiffstats
path: root/termui/show_bug.go
diff options
context:
space:
mode:
Diffstat (limited to 'termui/show_bug.go')
-rw-r--r--termui/show_bug.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/termui/show_bug.go b/termui/show_bug.go
index 799af9c7..f4f1294f 100644
--- a/termui/show_bug.go
+++ b/termui/show_bug.go
@@ -191,7 +191,7 @@ func (sb *showBug) keybindings(g *gocui.Gui) error {
func (sb *showBug) disable(g *gocui.Gui) error {
for _, view := range sb.childViews {
- if err := g.DeleteView(view); err != nil {
+ if err := g.DeleteView(view); err != nil && err != gocui.ErrUnknownView {
return err
}
}