Skip to content

Commit

Permalink
[ML4SE-136] fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikrise2 committed Nov 23, 2023
1 parent 7073f71 commit 192e85c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ class MainPluginPanelFactory : ToolWindowFactory {
* Switches the editor to the virtualFile.
*/
private fun focusOnFile(virtualFile: VirtualFile) {
ApplicationManager.getApplication().invokeAndWait {
ApplicationManager.getApplication().invokeLater {
FileEditorManager.getInstance(project).openFile(
virtualFile, false
virtualFile, true
)
}
}
Expand Down

0 comments on commit 192e85c

Please sign in to comment.