Check for null.
This commit is contained in:
parent
5c506e7317
commit
ca1b316184
1 changed files with 4 additions and 1 deletions
|
|
@ -127,7 +127,10 @@ namespace MatterHackers.MatterControl
|
|||
ValidateMaterialSettings();
|
||||
ValidateQualitySettings();
|
||||
|
||||
BedSettings.SetMakeAndModel(ActivePrinter.Make, ActivePrinter.Model);
|
||||
if (ActivePrinter != null)
|
||||
{
|
||||
BedSettings.SetMakeAndModel(ActivePrinter.Make, ActivePrinter.Model);
|
||||
}
|
||||
globalInstance.OnActivePrinterChanged(null);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue