Fixed a bug with changing to a null print item in gcode view
This commit is contained in:
parent
89664a011d
commit
78f554ce20
2 changed files with 17 additions and 0 deletions
|
|
@ -171,6 +171,11 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
|
||||
gcodeDisplayWidget.CloseAllChildren();
|
||||
|
||||
if(printItem == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
//firstProcessingMessage = "Loading G-Code...".Localize();
|
||||
if (Path.GetExtension(printItem.FileLocation).ToUpper() == ".GCODE")
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue