diff --git a/Elwig/Windows/DeliveryAdminWindow.xaml.cs b/Elwig/Windows/DeliveryAdminWindow.xaml.cs index bcd8537..a6be751 100644 --- a/Elwig/Windows/DeliveryAdminWindow.xaml.cs +++ b/Elwig/Windows/DeliveryAdminWindow.xaml.cs @@ -181,7 +181,8 @@ namespace Elwig.Windows { private void GradationKmwInput_LostFocus(object sender, RoutedEventArgs evt) { InputLostFocus((TextBox)sender, Validator.CheckGradationKmw); - if (!GradationKmwInput.Text.Contains(',')) GradationKmwInput.Text += ",0"; + if (GradationKmwInput.Text.Length != 0 && !GradationKmwInput.Text.Contains(',')) + GradationKmwInput.Text += ",0"; } private void AttributesInput_SelectionChanged(object sender, ItemSelectionChangedEventArgs evt) { diff --git a/Elwig/Windows/DeliveryReceptionWindow.xaml b/Elwig/Windows/DeliveryReceptionWindow.xaml deleted file mode 100644 index 5047be0..0000000 --- a/Elwig/Windows/DeliveryReceptionWindow.xaml +++ /dev/null @@ -1,12 +0,0 @@ -<Window x:Class="Elwig.Windows.DeliveryReceptionWindow" - xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" - xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" - xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" - xmlns:local="clr-namespace:Elwig.Windows" - mc:Ignorable="d" - Title="Übernahme" Height="450" Width="800"> - <Grid> - - </Grid> -</Window> diff --git a/Elwig/Windows/DeliveryReceptionWindow.xaml.cs b/Elwig/Windows/DeliveryReceptionWindow.xaml.cs deleted file mode 100644 index f88b4cf..0000000 --- a/Elwig/Windows/DeliveryReceptionWindow.xaml.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System.Windows; - -namespace Elwig.Windows { - public partial class DeliveryReceptionWindow : Window { - public DeliveryReceptionWindow() { - InitializeComponent(); - } - } -}