From a7de101b64b636e873b35dfca5425587ad5f9961 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Wed, 18 Jun 2008 14:15:48 +0000 Subject: [PATCH] Revert 25234: Even though this is not recommended, using repaint give a much better user experience when dragging the scrollbar slider. So I am changing it back. I've solved the problem leading to rev25234 thanks to the new TocModel anyway. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25305 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiWorkArea.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index 7fafe934d5..b4e449addb 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -898,7 +898,7 @@ void GuiWorkArea::resizeEvent(QResizeEvent * ev) void GuiWorkArea::update(int x, int y, int w, int h) { - viewport()->update(x, y, w, h); + viewport()->repaint(x, y, w, h); } -- 2.39.2