Guard LoadHistoryItems with WidgetHasBeenClosed
- Observed exception on shutdown where PrintHistory was reloaded during shutdown after the db had been closed. Skip load if Closing/closed - Spelling, whitespace, use .Localize()
This commit is contained in:
parent
b8a9498dd8
commit
93a17d2b6c
5 changed files with 15 additions and 12 deletions
|
|
@ -170,7 +170,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
editToolBar.VAnchor |= Agg.UI.VAnchor.ParentCenter;
|
||||
processingProgressControl.Visible = false;
|
||||
|
||||
// If the window is embeded (in the center pannel) and there is no item loaded then don't show the add button
|
||||
// If the window is embedded (in the center panel) and there is no item loaded then don't show the add button
|
||||
enterEditButtonsContainer = new FlowLayoutWidget();
|
||||
{
|
||||
Button addButton = textImageButtonFactory.Generate("Insert".Localize(), "icon_insert_32x32.png");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue