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.
2 parents 7c3103c + 5bd53b9 commit 077f567Copy full SHA for 077f567
RetailCoder.VBE/UI/CodeExplorer/CodeExplorerControl.xaml.cs
@@ -18,7 +18,7 @@ public CodeExplorerControl()
18
19
private void TreeView_OnMouseDoubleClick(object sender, MouseButtonEventArgs e)
20
{
21
- if (ViewModel != null && ViewModel.SelectedItem != null)
+ if (ViewModel != null && ViewModel.NavigateCommand.CanExecute(ViewModel.SelectedItem))
22
23
ViewModel.NavigateCommand.Execute(ViewModel.SelectedItem);
24
}
0 commit comments