mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-29 22:48:24 +02:00
Redraw commits view when showGraph setting changes
This commit is contained in:
@@ -930,7 +930,10 @@ func (self *LocalCommitsController) handleOpenLogMenu() error {
|
|||||||
return func() error {
|
return func() error {
|
||||||
self.c.GetAppState().GitLogShowGraph = value
|
self.c.GetAppState().GitLogShowGraph = value
|
||||||
self.c.SaveAppStateAndLogError()
|
self.c.SaveAppStateAndLogError()
|
||||||
return nil
|
if err := self.c.PostRefreshUpdate(self.c.Contexts().LocalCommits); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
return self.c.PostRefreshUpdate(self.c.Contexts().SubCommits)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return self.c.Menu(types.CreateMenuOptions{
|
return self.c.Menu(types.CreateMenuOptions{
|
||||||
|
|||||||
Reference in New Issue
Block a user