mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 13:20:58 +00:00
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:
parent
2a42f56b4e
commit
9bb7f03835
@ -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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user