]> git.lyx.org Git - features.git/commitdiff
Fix recursive repaint problem.
authorTommaso Cucinotta <tommaso@lyx.org>
Mon, 5 Sep 2011 22:27:39 +0000 (22:27 +0000)
committerTommaso Cucinotta <tommaso@lyx.org>
Mon, 5 Sep 2011 22:27:39 +0000 (22:27 +0000)
Backporting r39535. See also:
- http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg170468.html.
- Bug #7503
- Bug #7173

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39604 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiWorkArea.cpp

index 3975d3d51ad17d21b893620de2e4893198766fec..ccae8807f6c4e89fc4d769a6b5452e143e31f26d 100644 (file)
@@ -1085,7 +1085,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);
 }