mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
hide last tab in main window only
This commit is contained in:
@@ -744,6 +744,7 @@ public class RunnerContentUi implements ContentUI, Disposable, CellTransform.Fac
|
||||
for (TabInfo each : tabs) {
|
||||
hasToolbarContent |= updateTabUI(each);
|
||||
}
|
||||
myTabs.getPresentation().setHideTabs(!hasToolbarContent && tabs.size() <= 1 && myOriginal == null);
|
||||
myTabs.updateTabActions(validateNow);
|
||||
|
||||
if (validateNow) {
|
||||
|
||||
Reference in New Issue
Block a user