Fix the painting I broke in r33909.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33912 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-03-29 16:00:49 +00:00
parent dfaab2f50d
commit e4b3e9b7bc

View File

@ -533,8 +533,7 @@ void GuiWorkArea::resizeBufferView()
buffer_view_->resize(viewport()->width(), viewport()->height());
if (cursor_in_view)
buffer_view_->scrollToCursor();
else
updateScreen();
updateScreen();
// Update scrollbars which might have changed due different
// BufferView dimension. This is especially important when the