mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
stop switching focus to commit files view while staging line by line
This commit is contained in:
parent
906a49049e
commit
d97c230747
|
|
@ -83,7 +83,7 @@ func (gui *Gui) refreshCommits() error {
|
|||
|
||||
go func() {
|
||||
gui.refreshCommitsWithLimit()
|
||||
if gui.g.CurrentView() == gui.getCommitFilesView() || (gui.g.CurrentView() == gui.getMainView() || gui.State.MainContext == "patch-building") {
|
||||
if gui.g.CurrentView() == gui.getCommitFilesView() || (gui.g.CurrentView() == gui.getMainView() && gui.State.MainContext == "patch-building") {
|
||||
gui.refreshCommitFilesView()
|
||||
}
|
||||
wg.Done()
|
||||
|
|
|
|||
Loading…
Reference in a new issue