Skip to content

Commit

Permalink
Sync DocsBrowser MenuItem Check State (#12820)
Browse files Browse the repository at this point in the history
* Sync menu item check state

* adjust order
  • Loading branch information
QilongTang authored Apr 22, 2022
1 parent 1454e9b commit fe47bc3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ public void HandleRequestOpenDocumentationLink(OpenDocumentationLinkEventArgs ar

// forward the event to the ViewModel to handle
this.ViewModel?.HandleOpenDocumentationLinkEvent(args);

// Check the menu item
this.documentationBrowserMenuItem.IsChecked = true;
}

private void OnViewModelMessageLogged(ILogMessage msg)
Expand Down

0 comments on commit fe47bc3

Please sign in to comment.