Move header text definition to page rather than caller

This commit is contained in:
jlewin 2019-05-09 16:49:15 -07:00
parent feb86313dc
commit 8f036e85dc
3 changed files with 6 additions and 5 deletions

View file

@ -190,8 +190,9 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
yield return new HomePrinterPage(
this,
"Homing the printer".Localize(),
levelingStrings.HomingPageInstructions(printer.Settings.Helpers.UseZProbe(), printer.Settings.GetValue<bool>(SettingsKey.has_heated_bed)));
levelingStrings.HomingPageInstructions(
printer.Settings.Helpers.UseZProbe(),
printer.Settings.GetValue<bool>(SettingsKey.has_heated_bed)));
// if there is a level_x_carriage_markdown oem markdown page
if (!string.IsNullOrEmpty(printer.Settings.GetValue(SettingsKey.level_x_carriage_markdown)))