Make sure we replace the right temperature when swappable bed enabled

This commit is contained in:
Lars Brubaker 2022-04-11 16:38:38 -07:00
parent 395b16315f
commit 1819b1ce51
3 changed files with 12 additions and 1 deletions

View file

@ -1002,6 +1002,11 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
{
var value = this.ResolveValue(setting);
if (setting == SettingsKey.bed_temperature)
{
value = this.Helpers.ActiveBedTemperature.ToString();
}
if(string.IsNullOrEmpty(value))
{
return inputString;