Merge pull request #3687 from jlewin/master

Guard for null
This commit is contained in:
johnlewin 2018-09-03 21:52:58 -07:00 committed by GitHub
commit 5cf7f9a81f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -332,7 +332,8 @@ namespace MatterHackers.MatterControl
};
if (item.Name == guideKey
|| (item.ArticleKey == guideKey
|| (guideKey != null
&& item.ArticleKey == guideKey
&& ApplicationController.Instance.HelpArticlesByID.ContainsKey(guideKey)))
{
initialSelection = newNode;