mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-15 15:44:59 +00:00
enhance: scroll to home when active revision file changed
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
2478d2953b
commit
ba4c0f0cd2
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ namespace SourceGit.Views
|
||||||
{
|
{
|
||||||
Text = source.Content;
|
Text = source.Content;
|
||||||
Models.TextMateHelper.SetGrammarByFileName(_textMate, source.FileName);
|
Models.TextMateHelper.SetGrammarByFileName(_textMate, source.FileName);
|
||||||
|
ScrollToHome();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue