Skip to content

Commit

Permalink
fixed a bug with itemsource not being updated correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
kruumy committed Mar 12, 2023
1 parent 58ce3bd commit 15446af
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions EasyZoneBuilder.GUI/Mod.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public void ReadModCsvBtn_Click( object sender, RoutedEventArgs e )
detectedZonesBox.Text = string.Empty;
CsvGrid.ItemsSource = sMod.CSV;
}
CsvGrid.Items.Refresh();
}

private async void writeFastFileBtn_Click( object sender, RoutedEventArgs e )
Expand Down
1 change: 1 addition & 0 deletions EasyZoneBuilder.GUI/NewZone.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ private async Task RefreshAssetGrid()
cvs.Source = await DependencyGraph.DefaultInstance.GetAssetsAsync(ss);
AssetGrid.ItemsSource = cvs.View;
}
AssetGrid.Items.Refresh();
}

private async void SelectZoneComboBox_Loaded( object sender, RoutedEventArgs e )
Expand Down
1 change: 1 addition & 0 deletions EasyZoneBuilder.GUI/RequiredZonesExpanded.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ private void RefreshAssetGrid()
}
AssetGrid.ItemsSource = items;
}
AssetGrid.Items.Refresh();
}

private Dictionary<KeyValuePair<string, AssetType>, string> ConvertToNewDictionary( Dictionary<string, DependencyGraph.RequiredZonesEntryInfo> originalDict )
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<a href="https://paypal.me/JPauls281"><img src="https://img.shields.io/badge/Donate-Paypal-orange?style=flat-square"></a>
</div>

<h4 align="center">Singleplayer actors, tool assisted speedrun any%</h4>
<h4 align="center">Singleplayer actors, tool assisted speedrun</h4>

<div align="center">
<a href="preview.png">
Expand Down

0 comments on commit 15446af

Please sign in to comment.