select an editor and focus it if needed in tabless mode

This commit is contained in:
Sergey Malenkov
2018-05-25 22:17:12 +03:00
parent b6c81a0485
commit 0479959fee
@@ -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;
}