Skip to content

Commit 5c11a56

Browse files
committed
Merge branch 'next' into ParserIssues
2 parents a32755c + 077f567 commit 5c11a56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RetailCoder.VBE/UI/CodeExplorer/CodeExplorerControl.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public CodeExplorerControl()
1818

1919
private void TreeView_OnMouseDoubleClick(object sender, MouseButtonEventArgs e)
2020
{
21-
if (ViewModel != null && ViewModel.SelectedItem != null)
21+
if (ViewModel != null && ViewModel.NavigateCommand.CanExecute(ViewModel.SelectedItem))
2222
{
2323
ViewModel.NavigateCommand.Execute(ViewModel.SelectedItem);
2424
}

0 commit comments

Comments
 (0)