diff --git a/ILSpy/Options/DisplaySettingsPanel.xaml.cs b/ILSpy/Options/DisplaySettingsPanel.xaml.cs index ab07113ff..d4b1ee547 100644 --- a/ILSpy/Options/DisplaySettingsPanel.xaml.cs +++ b/ILSpy/Options/DisplaySettingsPanel.xaml.cs @@ -125,7 +125,8 @@ namespace ICSharpCode.ILSpy.Options else root.Add(section); - currentDisplaySettings = null; // invalidate cached settings + if (currentDisplaySettings != null) + currentDisplaySettings.CopyValues(s); } }