mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-03 00:57:52 +02:00
missed a spot
This commit is contained in:
@ -45,7 +45,6 @@ func (gui *Gui) handleCreatePatchOptionsMenu(g *gocui.Gui, v *gocui.View) error
|
|||||||
onPress: gui.handlePullPatchIntoNewCommit,
|
onPress: gui.handlePullPatchIntoNewCommit,
|
||||||
},
|
},
|
||||||
}...)
|
}...)
|
||||||
}
|
|
||||||
|
|
||||||
selectedCommit := gui.getSelectedCommit()
|
selectedCommit := gui.getSelectedCommit()
|
||||||
if selectedCommit != nil && gui.GitCommand.PatchManager.Parent != selectedCommit.Sha {
|
if selectedCommit != nil && gui.GitCommand.PatchManager.Parent != selectedCommit.Sha {
|
||||||
@ -62,6 +61,7 @@ func (gui *Gui) handleCreatePatchOptionsMenu(g *gocui.Gui, v *gocui.View) error
|
|||||||
)...,
|
)...,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return gui.createMenu(gui.Tr.SLocalize("PatchOptionsTitle"), menuItems, createMenuOptions{showCancel: true})
|
return gui.createMenu(gui.Tr.SLocalize("PatchOptionsTitle"), menuItems, createMenuOptions{showCancel: true})
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user