Open constructed tab after creation

- Issue MatterHackers/MCCentral#4460
Library -> MCX -> Edit should switch to constructed tab
This commit is contained in:
John Lewin 2018-11-01 15:37:16 -07:00
parent 624e07803c
commit 35e7e24fda

View file

@ -769,7 +769,8 @@ namespace MatterHackers.MatterControl.PrintLibrary
ApplicationController.Instance.Workspaces.Add(workspace);
mainViewWidget.CreatePartTab(workspace);
var tab = mainViewWidget.CreatePartTab(workspace);
mainViewWidget.TabControl.ActiveTab = tab;
// Load content after UI widgets to support progress notification during acquire/load
await workspace.SceneContext.LoadContent(