App: Fix GroupSeparator bug
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
using Elwig.Helpers;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
|
||||
@ -14,7 +13,7 @@ namespace Elwig.Dialogs {
|
||||
|
||||
private void ConfirmButton_Click(object sender, RoutedEventArgs evt) {
|
||||
DialogResult = true;
|
||||
Price = double.Parse(PriceInput.Text.Replace("\u202f", ""));
|
||||
Price = double.Parse(PriceInput.Text.Replace(Utils.GroupSeparator, ""));
|
||||
Close();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user