Use de-AT locale with narrow nbsp
This commit is contained in:
1 parent
1226e85c4a
commit
f4c24d9578
3 files changed
+6
-3
No files matched your search
@@ -15,7 +15,7 @@ namespace Elwig.Dialogs {
|
||||
|
||||
private void ConfirmButton_Click(object sender, RoutedEventArgs evt) {
|
||||
DialogResult = true;
|
||||
Weight = int.Parse(WeightInput.Text.Replace(".", ""));
|
||||
Weight = int.Parse(WeightInput.Text.Replace("\u202f", ""));
|
||||
Reason = Regex.Replace(ReasonInput.Text, @"\s+", "").Trim();
|
||||
if (Reason == "") {
|
||||
Reason = null;
|
||||
|
||||
Reference in new issue
Block a user