Index: src/DeltaShell/DeltaShell.Core/DeltaShellApplicationSettings.cs =================================================================== diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r5fc71a385897af92ccb092f2f969b5709afab85a --- src/DeltaShell/DeltaShell.Core/DeltaShellApplicationSettings.cs (.../DeltaShellApplicationSettings.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9) +++ src/DeltaShell/DeltaShell.Core/DeltaShellApplicationSettings.cs (.../DeltaShellApplicationSettings.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) @@ -4,7 +4,7 @@ namespace DeltaShell.Core { // Decoration class for settings with IsDirty flag (speed-up exit) - public class DeltaShellApplicationSettings : System.Configuration.ApplicationSettingsBase + public class DeltaShellApplicationSettings : ApplicationSettingsBase { private readonly ApplicationSettingsBase child; @@ -13,18 +13,21 @@ this.child = child; } - public bool IsDirty { get; private set; } - public override object this[string propertyName] { - get { return child[propertyName]; } + get + { + return child[propertyName]; + } set { child[propertyName] = value; IsDirty = true; //don't forget to publish changes - OnPropertyChanged(this,new PropertyChangedEventArgs(propertyName)); + OnPropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } + + public bool IsDirty { get; private set; } } } \ No newline at end of file