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 d3fb34f commit ffeb7ccCopy full SHA for ffeb7cc
RetailCoder.VBE/Navigation/CodeExplorer/CodeExplorerViewModel.cs
@@ -80,6 +80,18 @@ public CodeExplorerItemViewModel SelectedItem
80
{
81
_selectedItem = value;
82
OnPropertyChanged();
83
+
84
+ if (_selectedItem is CodeExplorerProjectViewModel)
85
+ {
86
+ var vbe = _selectedItem.GetSelectedDeclaration().Project.VBE;
87
+ var project = vbe.VBProjects.Cast<VBProject>().FirstOrDefault(f => f.HelpFile == _selectedItem.GetSelectedDeclaration().Project.HelpFile);
88
89
+ if (project != null)
90
91
+ vbe.ActiveVBProject = project;
92
+ }
93
94
95
// ReSharper disable ExplicitCallerInfoArgument
96
OnPropertyChanged("CanExecuteIndenterCommand");
97
OnPropertyChanged("CanExecuteRenameCommand");
0 commit comments