B2021-067: Null reference crash when printing procedure with all sections set to not applicable.
This commit is contained in:
1 parent
f4559bdff5
commit
639a7be451
1 file changed
+1
@@ -2619,6 +2619,7 @@ namespace Volian.Print.Library
|
|||||||
}
|
}
|
||||||
private void LoadSectionTree(ItemInfo ii)
|
private void LoadSectionTree(ItemInfo ii)
|
||||||
{
|
{
|
||||||
|
if (ii.Sections == null) return; // B2021-067 crash on null reference
|
||||||
foreach (SectionInfo si in ii.Sections)
|
foreach (SectionInfo si in ii.Sections)
|
||||||
{
|
{
|
||||||
if (si.IsStepSection)
|
if (si.IsStepSection)
|
||||||
|
|||||||
Reference in new issue
Block a user