Actually check if we have a printer selected.
This commit is contained in:
parent
286e89ad63
commit
f15318faf9
6 changed files with 7 additions and 7 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue