From: Jack Jansen Date: Thu, 15 Jul 2004 22:08:33 +0000 (+0000) Subject: After more than two years of puzzlement Jurjen Bos found the reason for X-Git-Tag: v2.4a2~238 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ad1654e03aca95f8d5cad75ad377c3b67cb73f91;p=thirdparty%2FPython%2Fcpython.git 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