mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-04 03:48:07 +02:00
fix panic
This commit is contained in:
parent
62a31c27e1
commit
8dae54ab8c
@ -41,10 +41,7 @@ func (gui *Gui) getMenuOptions() map[string]string {
|
||||
}
|
||||
|
||||
func (gui *Gui) handleMenuClose(g *gocui.Gui, v *gocui.View) error {
|
||||
err := g.DeleteView("menu")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
_ = g.DeleteView("menu")
|
||||
return gui.returnFromContext()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user