mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
select an editor and focus it if needed in tabless mode
This commit is contained in:
@@ -674,6 +674,9 @@ public class EditorWindow {
|
||||
myPanel.removeAll ();
|
||||
myPanel.add (new TCompForTablessMode(this, editor), BorderLayout.CENTER);
|
||||
myOwner.validate();
|
||||
if (selectEditor) {
|
||||
setSelectedEditor(editor, focusEditor);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user