Create unique context for default "New Part" tab page

- Issue MatterHackers/MCCentral#2256
This commit is contained in:
John Lewin 2017-11-16 07:15:18 -08:00
parent cc3df021c6
commit bd4cf5a9b4

View file

@ -96,7 +96,15 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
}
else
{
this.CreatePartTab("New Part", printer.Bed, theme);
this.CreatePartTab(
"New Part",
new BedConfig(
new EditContext()
{
ContentStore = ApplicationController.Instance.Library.PlatingHistory,
SourceItem = BedConfig.NewPlatingItem()
}),
theme);
}
// add in the update available button