Save to compressed mcx is working

Don't call save twice
This commit is contained in:
Lars Brubaker 2022-02-02 10:52:42 -08:00
parent c351af843b
commit a2aaaf6715
9 changed files with 109 additions and 56 deletions

View file

@ -486,7 +486,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
{
this.CloseClicked?.Invoke(this, null);
// Must be called after CloseClicked otherwise listeners are cleared before event is invoked
this.parentTabControl.CloseTab(this);
this.parentTabControl?.CloseTab(this);
});
break;
}