We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65adbc1 commit daaa484Copy full SHA for daaa484
LibNoDaveConnectionLibrary/Projectfiles/Step7ProjectV5.cs
@@ -1579,7 +1579,11 @@ override protected void LoadProject()
1579
foreach (var cp in CPFolders.Where(x => x.SubModul != null))
1580
{
1581
if (cp.NetworkInterfaces == null) cp.NetworkInterfaces = new List<NetworkInterface>();
1582
- cp.NetworkInterfaces.AddRange(cp.SubModul.NetworkInterfaces);
+
1583
+ if (cp.SubModul.NetworkInterfaces != null)
1584
+ {
1585
+ cp.NetworkInterfaces.AddRange(cp.SubModul.NetworkInterfaces);
1586
+ }
1587
CPFolders.Remove(cp.SubModul);
1588
cp.SubModul = null;
1589
repeat = true;
0 commit comments