Put a try catch around the printer on idle call

Refactor / renaming
This commit is contained in:
Lars Brubaker 2015-03-25 18:01:57 -07:00
parent fd699981ec
commit 53ded760e9
8 changed files with 66 additions and 53 deletions

View file

@ -875,7 +875,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
if (gcodeViewWidget != null
&& gcodeViewWidget.LoadedGCode != null
&& gcodeViewWidget.LoadedGCode.Count > 0)
&& gcodeViewWidget.LoadedGCode.LineCount > 0)
{
CreateOptionsContent();
buttonRightPanel.Visible = true;