diff --git a/ENI-2/ENI2/ENI2/DetailRootControl.xaml.cs b/ENI-2/ENI2/ENI2/DetailRootControl.xaml.cs index ce6c664b..4fe915b1 100644 --- a/ENI-2/ENI2/ENI2/DetailRootControl.xaml.cs +++ b/ENI-2/ENI2/ENI2/DetailRootControl.xaml.cs @@ -372,6 +372,14 @@ namespace ENI2 message.SaveElements(); } message.IsDirty = false; + + if(message.MessageNotificationClass == Message.NotificationClass.ATA) + { + DetailBaseControl currentControl = this.detailView.Children[0] as DetailBaseControl; + // ggf. hat sich die Ticketnr geändert.. + DBManager.GetSingleCon(Properties.Settings.Default.ConnectionString).Save(currentControl.Core); + } + } } diff --git a/ENI-2/ENI2/ENI2/DetailViewControls/DangerousGoodsDetailControl.xaml b/ENI-2/ENI2/ENI2/DetailViewControls/DangerousGoodsDetailControl.xaml index e350683b..bb022dd7 100644 --- a/ENI-2/ENI2/ENI2/DetailViewControls/DangerousGoodsDetailControl.xaml +++ b/ENI-2/ENI2/ENI2/DetailViewControls/DangerousGoodsDetailControl.xaml @@ -21,20 +21,22 @@ + - + -