Convert some accessors to use GetValue<T>

This commit is contained in:
John Lewin 2016-06-15 16:15:47 -07:00
parent 34cfafbada
commit 814763ed72
23 changed files with 46 additions and 121 deletions

View file

@ -255,7 +255,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage
private void SetPrintLevelButtonVisiblity()
{
if (ActiveSliceSettings.Instance.DoPrintLeveling())
if (ActiveSliceSettings.Instance.GetValue<bool>("MatterControl.PrintLevelingEnabled"))
{
printLevelingStatusLabel.Text = "Software Print Leveling (enabled)".Localize();
}