mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-11-28 09:08:41 +02:00
sending panel to back rather than deleting
This commit is contained in:
parent
10fd353a50
commit
00dca6f76d
@ -53,7 +53,7 @@ func closeCommitPrompt(g *gocui.Gui, v *gocui.View) error {
|
||||
filesView, _ := g.View("files")
|
||||
switchFocus(g, v, filesView)
|
||||
devLog("test prompt close")
|
||||
if err := g.DeleteView("commit"); err != nil {
|
||||
if _, err := g.SetViewOnBottom("commit"); err != nil {
|
||||
return err
|
||||
}
|
||||
if _, err := g.SetCurrentView(state.PreviousView); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user