mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-80808 Debug Tool Window: on hiding/restoring a view under Debugger tab focus jumps to the first tab in row
This commit is contained in:
@@ -855,13 +855,14 @@ public class RunnerContentUi implements ContentUI, Disposable, CellTransform.Fac
|
||||
}
|
||||
}
|
||||
|
||||
tab.setHidden(true);
|
||||
boolean hidden = true;
|
||||
for (Content content : contents) {
|
||||
if (!grid.isMinimized(content)) {
|
||||
tab.setHidden(false);
|
||||
hidden = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
tab.setHidden(hidden);
|
||||
if (icon == null && contents.size() == 1) {
|
||||
icon = contents.get(0).getIcon();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user