]> git.lyx.org Git - features.git/commitdiff
Fix recursive repaint problem.
authorTommaso Cucinotta <tommaso@lyx.org>
Sat, 27 Aug 2011 10:21:59 +0000 (10:21 +0000)
committerTommaso Cucinotta <tommaso@lyx.org>
Sat, 27 Aug 2011 10:21:59 +0000 (10:21 +0000)
See also: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg170468.html

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

src/frontends/qt4/GuiWorkArea.cpp

index 8d32158a1f241006cce88c7fac38b63d6d55418d..026c7699db10dbf98d0ece4c1d1c698a71bc4f2d 100644 (file)
@@ -1086,7 +1086,7 @@ void GuiWorkArea::resizeEvent(QResizeEvent * ev)
 
 void GuiWorkArea::update(int x, int y, int w, int h)
 {
-       viewport()->repaint(x, y, w, h);
+       viewport()->update(x, y, w, h);
 }