diff --git a/src/Views/Widgets/Stashes.xaml b/src/Views/Widgets/Stashes.xaml index 6faf5a6c..43338ca4 100644 --- a/src/Views/Widgets/Stashes.xaml +++ b/src/Views/Widgets/Stashes.xaml @@ -66,32 +66,42 @@ - - - - - - - - - - - - - - - - - - - + SelectionMode="Single" + SelectionUnit="FullRow" + SelectedCellsChanged="OnStashSelectionChanged"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Views/Widgets/Stashes.xaml.cs b/src/Views/Widgets/Stashes.xaml.cs index 19abe242..ca02e913 100644 --- a/src/Views/Widgets/Stashes.xaml.cs +++ b/src/Views/Widgets/Stashes.xaml.cs @@ -47,7 +47,7 @@ namespace SourceGit.Views.Widgets { e.Handled = true; } - private async void OnStashSelectionChanged(object sender, SelectionChangedEventArgs e) { + private async void OnStashSelectionChanged(object sender, SelectedCellsChangedEventArgs e) { changeList.ItemsSource = null; selected = null;