Fixed bug where app was accidentally switched to en-us locale by old ENI code
This commit is contained in:
parent
dba5cb3523
commit
4766584512
@ -141,8 +141,7 @@ namespace BreCalClient
|
|||||||
#region protected
|
#region protected
|
||||||
|
|
||||||
protected void addItem(object sender, RoutedEventArgs e)
|
protected void addItem(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-us");
|
|
||||||
if (!this.IsReadOnly)
|
if (!this.IsReadOnly)
|
||||||
{
|
{
|
||||||
this.CreateRequested?.Invoke();
|
this.CreateRequested?.Invoke();
|
||||||
|
|||||||
@ -38,7 +38,7 @@ namespace BreCalClient
|
|||||||
this.dataGridShips.Initialize();
|
this.dataGridShips.Initialize();
|
||||||
this.dataGridShips.ItemsSource = BreCalLists.AllShips;
|
this.dataGridShips.ItemsSource = BreCalLists.AllShips;
|
||||||
|
|
||||||
this.dataGridShips.CreateRequested += DataGridShips_CreateRequested; ;
|
this.dataGridShips.CreateRequested += DataGridShips_CreateRequested;
|
||||||
this.dataGridShips.EditRequested += DataGridShips_EditRequested;
|
this.dataGridShips.EditRequested += DataGridShips_EditRequested;
|
||||||
this.dataGridShips.DeleteRequested += DataGridShips_DeleteRequested;
|
this.dataGridShips.DeleteRequested += DataGridShips_DeleteRequested;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user