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 a32755c + 077f567 commit 5c11a56Copy full SHA for 5c11a56
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