diff --git a/BeWo/DebugConfig.cs b/BeWo/DebugConfig.cs index 8af30cd9a..a0e6d53c1 100644 --- a/BeWo/DebugConfig.cs +++ b/BeWo/DebugConfig.cs @@ -14,13 +14,14 @@ namespace BeWo public class DebugConfig { + private static DebugConfig _CurrentConfig; public static DebugConfig CurrentConfig { get { #if DEBUG - return FeatureWohnhilfe; + return _CurrentConfig ?? (_CurrentConfig = FeatureWohnhilfe); #endif diff --git a/BeWo/View/Detail/CustomerWohnhilfeView.xaml b/BeWo/View/Detail/CustomerWohnhilfeView.xaml index 3fb3d3481..e74ef37b5 100644 --- a/BeWo/View/Detail/CustomerWohnhilfeView.xaml +++ b/BeWo/View/Detail/CustomerWohnhilfeView.xaml @@ -8,12 +8,13 @@ xmlns:t="clr-namespace:BeWo.MultiLanguage.Markup" xmlns:viewmodel="clr-namespace:BeWo.ViewModel" xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls" - xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" xmlns:wohnhilfe="clr-namespace:BeWo.View.Controls.Wohnhilfe" + xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" xmlns:wohnhilfe="clr-namespace:BeWo.View.Controls.Wohnhilfe" xmlns:converter="clr-namespace:BeWo.Converter" mc:Ignorable="d" d:DataContext="{d:DesignInstance Type=viewmodel:CustomerVM, IsDesignTimeCreatable=true}" d:DesignHeight="450" d:DesignWidth="800"> --> + +