cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23859 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2008-03-21 09:30:19 +00:00
parent e995e8556b
commit f333b5da5f

View File

@ -392,7 +392,6 @@ void GuiWorkArea::processKeySym(KeySymbol const & key, KeyModifier mod)
theLyXFunc().setLyXView(lyx_view_); theLyXFunc().setLyXView(lyx_view_);
theLyXFunc().processKeySym(key, mod); theLyXFunc().processKeySym(key, mod);
} }
@ -1319,7 +1318,7 @@ bool TabWorkArea::removeWorkArea(GuiWorkArea * work_area)
if (count()) { if (count()) {
// make sure the next work area is enabled. // make sure the next work area is enabled.
currentWidget()->setUpdatesEnabled(true); currentWidget()->setUpdatesEnabled(true);
if ((currentWorkArea() && currentWorkArea()->isFullScreen())) if (currentWorkArea() && currentWorkArea()->isFullScreen())
setFullScreen(true); setFullScreen(true);
else else
// Hide tabbar if there's only one tab. // Hide tabbar if there's only one tab.