diff --git a/Bonsai.Editor/EditorForm.cs b/Bonsai.Editor/EditorForm.cs index ab9e1d0f..3f2d9d75 100644 --- a/Bonsai.Editor/EditorForm.cs +++ b/Bonsai.Editor/EditorForm.cs @@ -2337,10 +2337,10 @@ private async Task OpenDocumentationAsync(string assemblyName, string uid) try { + var showExternal = ModifierKeys.HasFlag(Keys.Control); var editorControl = selectionModel.SelectedView.EditorControl; var url = await documentationProvider.GetDocumentationAsync(assemblyName, uid); - if (!ModifierKeys.HasFlag(Keys.Control) && - editorControl.AnnotationPanel.HasWebView) + if (!showExternal && editorControl.AnnotationPanel.HasWebView) { editorControl.AnnotationPanel.Navigate(url.AbsoluteUri); var nameSeparator = uid.LastIndexOf(ExpressionHelper.MemberSeparator);