mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
Commetin forgotten part of r29532 reversal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29540 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4b8376bbb3
commit
9d5d4ec64f
@ -1461,8 +1461,7 @@ bool TabWorkArea::removeWorkArea(GuiWorkArea * work_area)
|
||||
setFullScreen(true);
|
||||
else
|
||||
// Hide tabbar if there's only one tab.
|
||||
if (tabBar()->isVisible() && count() <= 1)
|
||||
showBar(false);
|
||||
showBar(count() > 1);
|
||||
} else {
|
||||
lastWorkAreaRemoved();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user