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:
Pavel Sanda 2009-05-05 06:22:55 +00:00
parent 4b8376bbb3
commit 9d5d4ec64f

View File

@ -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();
}