From de5d809b00fde852bcf4e20e5f14b4ed9b09c9e5 Mon Sep 17 00:00:00 2001 From: Lars Brubaker Date: Tue, 31 May 2022 15:40:17 -0700 Subject: [PATCH] protect against null --- MatterControlLib/SetupWizard/HelpTreePanel.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MatterControlLib/SetupWizard/HelpTreePanel.cs b/MatterControlLib/SetupWizard/HelpTreePanel.cs index 066750184..0d53963ba 100644 --- a/MatterControlLib/SetupWizard/HelpTreePanel.cs +++ b/MatterControlLib/SetupWizard/HelpTreePanel.cs @@ -380,7 +380,10 @@ namespace MatterHackers.MatterControl { var newNode = new HelpArticleTreeNode(helpArticle, theme); - nodesByPath[helpArticle.Path] = newNode; + if (!string.IsNullOrEmpty(helpArticle.Path)) + { + nodesByPath[helpArticle.Path] = newNode; + } if (helpArticle.Name == guideKey || (guideKey != null