Actually check if we have a printer selected.

This commit is contained in:
Lars Brubaker 2017-02-09 14:33:27 -08:00
parent 286e89ad63
commit f15318faf9
6 changed files with 7 additions and 7 deletions

View file

@ -114,7 +114,7 @@ namespace MatterHackers.MatterControl
middleRowContainer.AddChild(exportAsAmfButton);
}
bool showExportGCodeButton = ActiveSliceSettings.Instance != null || partIsGCode;
bool showExportGCodeButton = ActiveSliceSettings.Instance.PrinterSelected || partIsGCode;
if (showExportGCodeButton)
{
string exportGCodeTextFull = string.Format("{0} G-Code", "Export as".Localize());