issue: MatterHackers/MCCentral#5495
Incorrect spacing in single extruder case
This commit is contained in:
LarsBrubaker 2019-05-11 08:20:58 -07:00
parent 4b0d34b39d
commit 22cd9c1fe1

View file

@ -50,7 +50,14 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
: base(printer)
{
this.showAlreadyLoadedButton = showAlreadyLoadedButton;
this.Title = "Load Filament".Localize() + $"({extruderIndex + 1})";
if (printer.Settings.GetValue<int>(SettingsKey.extruder_count) == 1)
{
this.Title = "Load Filament".Localize();
}
else
{
this.Title = "Load Filament".Localize() + $" ({extruderIndex + 1})";
}
this.extruderIndex = extruderIndex;
}