From af442b736973b0e3ad9ddcddadc61ea55684e492 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Tue, 27 May 2008 13:30:40 +0000 Subject: [PATCH] fullscreen tweaking. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24961 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiView.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 4dc004d0b8..620fd19895 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -2013,10 +2013,9 @@ void GuiView::toggleFullScreen() setContentsMargins(0, 0, 0, 0); #endif setWindowState(windowState() ^ Qt::WindowFullScreen); + restoreLayout(); menuBar()->show(); statusBar()->show(); - if (lyxrc.full_screen_toolbars) - restoreLayout(); } else { for (int i = 0; i != d.splitter_->count(); ++i) d.tabWorkArea(i)->setFullScreen(true); -- 2.39.2