mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-30 16:44: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
|
@ -291,6 +291,7 @@ namespace SourceGit.Views
|
|||
if (DataContext is ViewModels.Histories histories)
|
||||
{
|
||||
histories.Select(commitDataGrid.SelectedItems);
|
||||
histories.NotifyAutoSelectedCommitChanged();
|
||||
}
|
||||
e.Handled = true;
|
||||
}
|
||||
|
|
|
@ -403,6 +403,7 @@
|
|||
<DataGrid Grid.Row="1"
|
||||
ItemsSource="{Binding SearchedCommits}"
|
||||
SelectionMode="Single"
|
||||
SelectedItem="{Binding SearchResultSelectedCommit, Mode=OneWay}"
|
||||
CanUserReorderColumns="False"
|
||||
CanUserResizeColumns="False"
|
||||
CanUserSortColumns="False"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue