mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 20:36:03 +02:00
Remove return value of IContextMgr.Push/Pop et. al.
This commit is contained in:
parent
072b465fa6
commit
371998e635
42 changed files with 137 additions and 162 deletions
|
@ -179,9 +179,7 @@ func (self *ListController) HandleClick(opts gocui.ViewMouseBindingOpts) error {
|
|||
|
||||
func (self *ListController) pushContextIfNotFocused() error {
|
||||
if !self.isFocused() {
|
||||
if err := self.c.Context().Push(self.context); err != nil {
|
||||
return err
|
||||
}
|
||||
self.c.Context().Push(self.context)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue