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 6b089dc commit 5f6fe24Copy full SHA for 5f6fe24
RetailCoder.VBE/UI/SelectionChangeService.cs
@@ -132,6 +132,11 @@ private void DispatchSelectedDesignerDeclaration(IVBComponent component)
132
133
private void DispatchSelectedProjectNodeDeclaration(IVBComponent component)
134
{
135
+ if (_parser.State.DeclarationFinder == null)
136
+ {
137
+ return;
138
+ }
139
+
140
if ((component == null || component.IsWrappingNullReference) && !_vbe.ActiveVBProject.IsWrappingNullReference)
141
142
//The user might have selected the project node in Project Explorer. If they've chosen a folder, we'll return the project anyway.
0 commit comments