mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Fix the bug described in the previous commit
This commit is contained in:
parent
f20b7ea593
commit
59af407eb1
2 changed files with 1 additions and 3 deletions
|
@ -608,6 +608,7 @@ func (self *LocalCommitsController) restoreSelectionRangeAndMode(selectionRangeA
|
|||
})
|
||||
if ok1 && ok2 {
|
||||
self.context().SetSelectionRangeAndMode(newSelectedIdx, newRangeStartIdx, selectionRangeAndMode.mode)
|
||||
self.context().HandleFocus(types.OnFocusOpts{})
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -49,10 +49,7 @@ var DropTodoCommitWithUpdateRef = NewIntegrationTest(NewIntegrationTestArgs{
|
|||
Contains("CI commit 01"),
|
||||
).
|
||||
Tap(func() {
|
||||
/* EXPECTED:
|
||||
t.Views().Main().Content(Contains("commit 02"))
|
||||
ACTUAL: */
|
||||
t.Views().Main().Content(Contains("commit 03"))
|
||||
}).
|
||||
NavigateToLine(Contains("commit 06")).
|
||||
Press(keys.Universal.Remove)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue