code_review: PR #1408
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-06-10 11:18:20 +08:00
parent 0ea4021a64
commit ee4d8a6a0e
No known key found for this signature in database
4 changed files with 182 additions and 130 deletions

View file

@ -313,7 +313,7 @@ namespace SourceGit.ViewModels
blame.IsEnabled = change.Index != Models.ChangeState.Deleted;
blame.Click += (_, ev) =>
{
App.ShowWindow(new Blame(_repo.FullPath, change.Path, _commit.SHA), false);
App.ShowWindow(new Blame(_repo.FullPath, change.Path, _commit), false);
ev.Handled = true;
};
@ -481,7 +481,7 @@ namespace SourceGit.ViewModels
blame.IsEnabled = file.Type == Models.ObjectType.Blob;
blame.Click += (_, ev) =>
{
App.ShowWindow(new Blame(_repo.FullPath, file.Path, _commit.SHA), false);
App.ShowWindow(new Blame(_repo.FullPath, file.Path, _commit), false);
ev.Handled = true;
};