Use de-AT locale with narrow nbsp

This commit is contained in:
lorenz.stechauner committed 2023-08-09 18:48:50 +02:00
1 parent 1226e85c4a
commit f4c24d9578
3 files changed
+6 -3

No files matched your search

+1 -1
View File
@@ -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;