mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 20:24:59 +00:00
fix: update search filter selected commit after Histories selected commit changed
This commit is contained in:
parent
65ccc9fc7b
commit
592d087e05
4 changed files with 29 additions and 0 deletions
|
@ -369,6 +369,18 @@ namespace SourceGit.ViewModels
|
|||
return menu;
|
||||
}
|
||||
|
||||
public void NotifyAutoSelectedCommitChanged()
|
||||
{
|
||||
if (DetailContext is CommitDetail detail)
|
||||
{
|
||||
_repo.HandleSelectedCommitChanged(detail.Commit);
|
||||
}
|
||||
else
|
||||
{
|
||||
_repo.HandleSelectedCommitChanged(null);
|
||||
}
|
||||
}
|
||||
|
||||
private void FillCurrentBranchMenu(ContextMenu menu, Models.Branch current)
|
||||
{
|
||||
var submenu = new MenuItem();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue