Skip to content

Commit

Permalink
6792: Outline shows as not available when starting up with open recor…
Browse files Browse the repository at this point in the history
…ding

Reviewed-by: hirt, aptmac
  • Loading branch information
vpurnam authored and Suchita Chaturvedi committed Feb 9, 2022
1 parent 7f42e4a commit 5fd290a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
Expand Down Expand Up @@ -234,6 +234,7 @@ private static void refreshJfrEditors(IWorkbench workbench) {
for (IEditorReference er : wp.getEditorReferences()) {
if ((editor = er.getEditor(false)) instanceof JfrEditor) {
((JfrEditor) editor).refreshPages();
((JfrEditor) editor).setFocus();
}
}
}
Expand Down

0 comments on commit 5fd290a

Please sign in to comment.