From: Jack Jansen Date: Thu, 15 Jul 2004 22:10:52 +0000 (+0000) Subject: Backport of 1.15: X-Git-Tag: v2.3.5c1~167 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=88cab68ac1eca1f9034e0ca48fcacd016446daa5;p=thirdparty%2FPython%2Fcpython.git Backport of 1.15: After more than two years of puzzlement Jurjen Bos found the reason for the double-scroll problem: when you pass a tracker function to TrackControl you shouldn't call your hit function again afterwards. Fixes #711989. --- diff --git a/Mac/Tools/IDE/Wcontrols.py b/Mac/Tools/IDE/Wcontrols.py index 3d5238363707..58fc31bfb962 100644 --- a/Mac/Tools/IDE/Wcontrols.py +++ b/Mac/Tools/IDE/Wcontrols.py @@ -380,8 +380,6 @@ class Scrollbar(ControlWidget): if part: self._hit(part) part = self._control.TrackControl(point, hitter) - if part: - self._hit(part) def _hit(self, part): value = None