mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-144592 - assert: EditorHistoryManager.fileOpenedImpl
GitOrigin-RevId: e792da137d58b26abe06e8c8b60f7ea3dd3f73ce
This commit is contained in:
committed by
intellij-monorepo-bot
parent
bb151241b8
commit
5d69edae50
+2
-1
@@ -101,7 +101,8 @@ public final class EditorHistoryManager implements PersistentStateComponent<Elem
|
||||
oldProviders = new FileEditorProvider[] { fallbackProvider };
|
||||
}
|
||||
if (editors.length <= 0) {
|
||||
LOG.error("No editors for file " + file.getPresentableUrl());
|
||||
// fileOpened notification is asynchronous, file could have been closed by now due to some reason
|
||||
return;
|
||||
}
|
||||
FileEditor selectedEditor = editorManager.getSelectedEditor(file);
|
||||
if (selectedEditor == null) {
|
||||
|
||||
Reference in New Issue
Block a user