Fixed bug where app was accidentally switched to en-us locale by old ENI code

This commit is contained in:
Daniel Schick 2024-04-24 11:21:59 +02:00
parent f2328fb18c
commit 8e5b20995d
2 changed files with 2 additions and 3 deletions

View File

@ -141,8 +141,7 @@ namespace BreCalClient
#region protected
protected void addItem(object sender, RoutedEventArgs e)
{
Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-us");
{
if (!this.IsReadOnly)
{
this.CreateRequested?.Invoke();

View File

@ -38,7 +38,7 @@ namespace BreCalClient
this.dataGridShips.Initialize();
this.dataGridShips.ItemsSource = BreCalLists.AllShips;
this.dataGridShips.CreateRequested += DataGridShips_CreateRequested; ;
this.dataGridShips.CreateRequested += DataGridShips_CreateRequested;
this.dataGridShips.EditRequested += DataGridShips_EditRequested;
this.dataGridShips.DeleteRequested += DataGridShips_DeleteRequested;
}