mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-12 11:15:00 +02: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 New Issue
Block a user