]> git.lyx.org Git - features.git/commitdiff
Work-around scrollbar bug when returning from fullscreen mode.
authorAbdelrazak Younes <younes@lyx.org>
Wed, 20 Feb 2008 15:07:36 +0000 (15:07 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 20 Feb 2008 15:07:36 +0000 (15:07 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23077 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiView.cpp

index 0b6fb260c28f9f6216abfdbbf16723a73fdb1099..3b8b3297451cf1e677fcd801cc9cf63727588d86 100644 (file)
@@ -1885,6 +1885,11 @@ void GuiView::lfunUiToggle(FuncRequest const & cmd)
                showFullScreen();
                statusBar()->hide();
                menuBar()->hide();
+               if (d.current_work_area_) {
+                       // It seems there is a bug somewhere preventing the scrollbar to
+                       // show up with updated parameters. This work-around seems to work.
+                       d.current_work_area_->verticalScrollBar()->show();
+               }
        }
 }