]> git.lyx.org Git - features.git/commitdiff
Fix the painting I broke in r33909.
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 29 Mar 2010 16:00:49 +0000 (16:00 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 29 Mar 2010 16:00:49 +0000 (16:00 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33912 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiWorkArea.cpp

index 52ae1e0410001aa17ad1ccb1e9bfef810298bf8c..0fa43708e19bd0945b23e5c662b596e5e2c712f8 100644 (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