Remove indirection

This commit is contained in:
jlewin 2019-05-16 15:07:23 -07:00
parent 018e8ed0d0
commit 686d258ce6
3 changed files with 3 additions and 8 deletions

View file

@ -71,7 +71,7 @@ namespace MatterHackers.MatterControl.Library.Export
get => printer != null
&& printer.Settings.PrinterSelected
&& !printer.Settings.GetValue<bool>("enable_sailfish_communication")
&& !ApplicationController.PrinterNeedsToRunSetup(printer, false);
&& !PrinterCalibrationWizard.SetupRequired(printer, false);
}
public virtual string DisabledReason
@ -86,7 +86,7 @@ namespace MatterHackers.MatterControl.Library.Export
{
return "No Printer Selected".Localize();
}
else if (ApplicationController.PrinterNeedsToRunSetup(printer, false))
else if (PrinterCalibrationWizard.SetupRequired(printer, false))
{
return "Setup Needs to be Run".Localize();
}