mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ConsoleExecutionEditor: dispose focus listener with its ConsoleExecutionEditor
GitOrigin-RevId: 04f74cc08407c8c5368bc24f6aff257993fa2925
This commit is contained in:
committed by
intellij-monorepo-bot
parent
cd18d29944
commit
85017a8482
@@ -167,7 +167,7 @@ public final class ConsoleExecutionEditor implements Disposable {
|
||||
|
||||
final Editor editor = ((TextEditor)fileEditor).getEditor();
|
||||
if (editor instanceof EditorEx editorEx) {
|
||||
editorEx.addFocusListener(myFocusListener);
|
||||
editorEx.addFocusListener(myFocusListener, ConsoleExecutionEditor.this);
|
||||
if (selectedTextEditor == editorEx) { // already focused
|
||||
myCurrentEditor = editorEx;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user