Ensure icon is loaded after .InvertIcons property is deserialized

- Issue MatterHackers/MatterControl#4826
Thumbnail generating icon is not theme aware
This commit is contained in:
John Lewin 2020-08-29 13:35:52 -07:00
parent 58e44fe170
commit 11be9e16f5

View file

@ -238,6 +238,9 @@ namespace MatterHackers.MatterControl
// {
// this.BedColor = this.ResolveColor(this.BackgroundColor, Color.Gray.WithAlpha(60));
// }
// EnsureDefaults is called after deserialization and at a point when state should be fully loaded. Invoking RebuildTheme here ensures icons are inverted correctly
this.RebuildTheme();
}
public Color RowBorder { get; set; }