aboutsummaryrefslogtreecommitdiffstats
path: root/termui/show_bug.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-08-17 12:37:58 +0200
committerMichael Muré <batolettre@gmail.com>2018-08-17 12:37:58 +0200
commite482a37776524b56d602e0067b254ea48307eea2 (patch)
tree3aa47b267cb2b0bf800de2e8b7415a6d4d51449e /termui/show_bug.go
parent6af16c1ccdb43d94877dc5986c8d6a8cdf5103b3 (diff)
downloadgit-bug-e482a37776524b56d602e0067b254ea48307eea2.tar.gz
termiu: show the bug after creation
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
}
}