Don't show the selector if we don't have a printer selected.
This commit is contained in:
parent
957d7bb6f3
commit
44ea3fa1ae
1 changed files with 2 additions and 1 deletions
|
|
@ -31,7 +31,8 @@ namespace MatterHackers.MatterControl.ConfigurationPage
|
|||
mainContainer.AddChild(GetLanguageControl());
|
||||
mainContainer.AddChild(new HorizontalLine(separatorLineColor));
|
||||
GuiWidget sliceEngineControl = GetSliceEngineControl();
|
||||
if (sliceEngineControl != null)
|
||||
if (sliceEngineControl != null
|
||||
&& ActivePrinterProfile.Instance.ActivePrinter != null)
|
||||
{
|
||||
mainContainer.AddChild(sliceEngineControl);
|
||||
mainContainer.AddChild(new HorizontalLine(separatorLineColor));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue