Alfredo Braunstein wrote:

> Is there a way to call setValue without the scrollbar emitting
> valueChanged?

A workaround (can be possibly backported?):

Index: QContentPane.C
===================================================================
RCS file:
/usr/local/lyx/cvsroot/lyx-devel/src/frontends/qt2/QContentPane.C,v
retrieving revision 1.26
diff -u -p -u -r1.26 QContentPane.C
--- QContentPane.C      21 Sep 2003 16:02:53 -0000      1.26
+++ QContentPane.C      19 Nov 2003 10:26:39 -0000
@@ -91,7 +91,8 @@ QContentPane::QContentPane(QWorkArea * p
 
 void QContentPane::scrollBarChanged(int val)
 {
-       wa_->scrollDocView(val);
+       if (wa_->scrollbar_->draggingSlider())
+               wa_->scrollDocView(val);
 }
 
 

Reply via email to