mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Use model searching in commits (and sub-commits) view
This commit is contained in:
parent
779e6f95a3
commit
6a6316cfb6
75 changed files with 9066 additions and 4175 deletions
|
@ -759,6 +759,14 @@ func (self *RefreshHelper) refForLog() string {
|
|||
}
|
||||
|
||||
func (self *RefreshHelper) refreshView(context types.Context) error {
|
||||
// Re-applying the filter must be done before re-rendering the view, so that
|
||||
// the filtered list model is up to date for rendering.
|
||||
self.searchHelper.ReApplyFilter(context)
|
||||
return self.c.PostRefreshUpdate(context)
|
||||
|
||||
err := self.c.PostRefreshUpdate(context)
|
||||
|
||||
// Re-applying the search must be done after re-rendering the view though,
|
||||
// so that the "x of y" status is shown correctly.
|
||||
self.searchHelper.ReApplySearch(context)
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue