mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 12:55:47 +02:00
move more actions into controller
This commit is contained in:
parent
71753770ad
commit
f8c9ce33c2
12 changed files with 160 additions and 123 deletions
|
@ -314,7 +314,7 @@ func (gui *Gui) resetControllers() {
|
|||
|
||||
// this must come last so that we've got our click handlers defined against the context
|
||||
listControllerFactory := controllers.NewListControllerFactory(common)
|
||||
for _, context := range gui.getListContexts() {
|
||||
for _, context := range gui.c.Context().AllList() {
|
||||
controllers.AttachControllers(context, listControllerFactory.Create(context))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue