mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[terminal] IJPL-212661 Fix focus when opening new predefined tab
GitOrigin-RevId: df0288ca96998a1fc98636294a45c11e31a69abb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6b895eac1d
commit
f50c0da7f8
+1
-1
@@ -178,7 +178,7 @@ internal class TerminalToolWindowTabsManagerImpl(
|
||||
manager.addContent(tab.content)
|
||||
|
||||
val selectTab = {
|
||||
manager.setSelectedContent(tab.content)
|
||||
manager.setSelectedContent(tab.content, requestFocus)
|
||||
}
|
||||
if (requestFocus && !toolWindow.isActive) {
|
||||
toolWindow.activate(selectTab, false, false)
|
||||
|
||||
Reference in New Issue
Block a user