diff --git a/DesignTools/PublicPropertyEditor.cs b/DesignTools/PublicPropertyEditor.cs index c57c2ea9c..9f7fb534c 100644 --- a/DesignTools/PublicPropertyEditor.cs +++ b/DesignTools/PublicPropertyEditor.cs @@ -504,7 +504,7 @@ namespace MatterHackers.MatterControl.DesignTools var row = CreateSettingsRow(context.item.Persistable ? "Registered".Localize() : "Demo Mode".Localize()); Button detailsLink = theme.ButtonFactory.Generate("Unlock".Localize(), AggContext.StaticData.LoadIcon("locked.png", 16, 16)); - detailsLink.BackgroundColor = theme.Colors.PrimaryAccentColor.AdjustContrast(theme.Colors.PrimaryTextColor, 8).ToColor(); + detailsLink.BackgroundColor = theme.Colors.PrimaryAccentColor.AdjustContrast(theme.Colors.PrimaryTextColor, 10).ToColor(); detailsLink.Margin = new BorderDouble(5); detailsLink.Click += (s, e) => { diff --git a/PartPreviewWindow/SelectedObjectPanel.cs b/PartPreviewWindow/SelectedObjectPanel.cs index ac5a5963e..dd50e51d4 100644 --- a/PartPreviewWindow/SelectedObjectPanel.cs +++ b/PartPreviewWindow/SelectedObjectPanel.cs @@ -274,6 +274,12 @@ namespace MatterHackers.MatterControl.PartPreviewWindow { activeEditors.Add((editor, child, child.Name)); } + + // If the object is not persistable than don't show its details. + if(!child.Persistable) + { + break; + } } ShowObjectEditor(activeEditors, selectedItem);