Commit 2345272
committed
git-gui: schedule rescan after actions triggered by mouse clicks
A mouse click on a UI element of Git GUI should trigger that
action. This does not always happen, in particluar, when the same
mouse click also activiates the Git GUI main window. In this case,
the auto-rescan is triggered first, which as a side-effect
inhibits many operations that should have happened otherwise.
Do not let the auto-rescan have that much priority. For example,
when an entry in the file list is clicked, that entry's diff should
be computed. But it isn't, because the rescan has taken over and
clogs the command execution.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>1 parent 1dcce5d commit 2345272
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4009 | 4009 | | |
4010 | 4010 | | |
4011 | 4011 | | |
4012 | | - | |
| 4012 | + | |
4013 | 4013 | | |
4014 | 4014 | | |
4015 | 4015 | | |
| |||
0 commit comments