Commit 87c49a1
authored
fix(preview): update preview window after squash operation (#518)
Root cause: startSquash() called SetCursor() to move to the parent revision
but never emitted a SelectionChangedMsg. The preview panel only refreshes
when it receives that message, so it stayed stale until the user pressed
j/k which does emit the message via updateSelection().
Fix: batch updateSelection() alongside the operation init command in
startSquash(), matching the pattern used by all other cursor-moving
operations.
Closes #5161 parent a1a51dc commit 87c49a1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
580 | | - | |
| 580 | + | |
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
| |||
0 commit comments