diff options
author | Michael Muré <batolettre@gmail.com> | 2018-08-17 12:37:58 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-08-17 12:37:58 +0200 |
commit | e482a37776524b56d602e0067b254ea48307eea2 (patch) | |
tree | 3aa47b267cb2b0bf800de2e8b7415a6d4d51449e /termui/show_bug.go | |
parent | 6af16c1ccdb43d94877dc5986c8d6a8cdf5103b3 (diff) | |
download | git-bug-e482a37776524b56d602e0067b254ea48307eea2.tar.gz |
termiu: show the bug after creation
Diffstat (limited to 'termui/show_bug.go')
-rw-r--r-- | termui/show_bug.go | 2 |
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 } } |