Create unique context for default "New Part" tab page
- Issue MatterHackers/MCCentral#2256
This commit is contained in:
parent
cc3df021c6
commit
bd4cf5a9b4
1 changed files with 9 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue