Skip to content

Commit

Permalink
Fixed history table not showing row group headers on reload
Browse files Browse the repository at this point in the history
  • Loading branch information
parthlr committed Oct 27, 2024
1 parent e6e38c8 commit 5d89033
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions StardewValleyManager/Views/SavesView.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@ public SavesView()
InitializeComponent();
}

protected override void OnLoaded(RoutedEventArgs e)
{
base.OnLoaded(e);

SaveHistoryTable.ItemsSource = new DataGridCollectionView(SaveHistoryTable.ItemsSource)
{
GroupDescriptions =
{
new DataGridPathGroupDescription("SaveSource")
}
};
}

private void OpenSaveDetails(object? sender, RoutedEventArgs e)
{
Dispatcher.UIThread.Post(async () =>
Expand Down

0 comments on commit 5d89033

Please sign in to comment.