Fixed bug where app was accidentally switched to en-us locale by old ENI code
This commit is contained in:
parent
f2328fb18c
commit
8e5b20995d
@ -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();
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user