Work-around scrollbar bug when returning from fullscreen mode.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23077 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-02-20 15:07:36 +00:00
parent 2a42f56b4e
commit 9bb7f03835

View File

@ -1885,6 +1885,11 @@ void GuiView::lfunUiToggle(FuncRequest const & cmd)
showFullScreen(); showFullScreen();
statusBar()->hide(); statusBar()->hide();
menuBar()->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();
}
} }
} }