]> git.lyx.org Git - features.git/commitdiff
Fix bug 3231 (hopefully).
authorAbdelrazak Younes <younes@lyx.org>
Wed, 14 Feb 2007 14:51:47 +0000 (14:51 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 14 Feb 2007 14:51:47 +0000 (14:51 +0000)
http://bugzilla.lyx.org/show_bug.cgi?id=3231

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17184 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiWorkArea.C

index af218a8886bcf79a87d2c209f048f9c925e46e00..6d2b7b60942400fc4dbcf573efbcac25255bd70c 100644 (file)
@@ -268,6 +268,11 @@ void GuiWorkArea::focusInEvent(QFocusEvent * /*event*/)
 
        theApp()->setCurrentView(lyx_view_);
 
+       // Repaint the whole screen.
+       // Note: this is different from redraw() as only the backing pixmap
+       // will be redrawn, which is cheap.
+       viewport()->repaint();
+
        // FIXME: it would be better to send a signal "newBuffer()"
        // in BufferList that could be connected to the different tabbars.
        lyx_view_.updateTab();