From 4dc7c45d7834d21ee5d3e9c62deb5cfaeaf231e5 Mon Sep 17 00:00:00 2001 From: jlewin Date: Wed, 1 May 2019 13:23:02 -0700 Subject: [PATCH] Convert private property into readonly field --- MatterControlLib/ApplicationView/ApplicationController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MatterControlLib/ApplicationView/ApplicationController.cs b/MatterControlLib/ApplicationView/ApplicationController.cs index d733ebe18..dcc392dd8 100644 --- a/MatterControlLib/ApplicationView/ApplicationController.cs +++ b/MatterControlLib/ApplicationView/ApplicationController.cs @@ -1663,7 +1663,7 @@ namespace MatterHackers.MatterControl } } - static Dictionary TypeFaceCache { get; set; } = new Dictionary() + private static readonly Dictionary TypeFaceCache = new Dictionary() { [NamedTypeFace.Liberation_Sans] = LiberationSansFont.Instance, [NamedTypeFace.Liberation_Sans_Bold] = LiberationSansBoldFont.Instance,