Ensure view and button state are always synced
This commit is contained in:
parent
485991a223
commit
1a9d90bc15
3 changed files with 84 additions and 50 deletions
|
|
@ -121,7 +121,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
ApplicationController.Instance.Printer.BedPlate.LoadGCode(printItem.GetGCodePathAndFileName(), printerTabPage.gcodeViewer.LoadProgress_Changed);
|
||||
sliceProgressReporter.EndReporting();
|
||||
|
||||
printerTabPage.SwitchToLayerView();
|
||||
printerTabPage.ViewMode = PartViewMode.Layers3D;
|
||||
|
||||
// HACK: directly fire method which previously ran on SlicingDone event on PrintItemWrapper
|
||||
UiThread.RunOnIdle(printerTabPage.gcodeViewer.CreateAndAddChildren);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue