mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-31 23:19:40 +02:00
add comment
This commit is contained in:
parent
390b7ddc5e
commit
b6ec667de0
@ -506,6 +506,7 @@ func (gui *Gui) activateContext(c Context) error {
|
||||
viewName := c.GetViewName()
|
||||
v, err := gui.g.View(viewName)
|
||||
// if view no longer exists, pop again
|
||||
// (note: this should never happen, unless we call this code before our views are initialised)
|
||||
if err != nil {
|
||||
return gui.returnFromContext()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user