]> granicus.if.org Git - python/commitdiff
After more than two years of puzzlement Jurjen Bos found the reason for
authorJack Jansen <jack.jansen@cwi.nl>
Thu, 15 Jul 2004 22:08:33 +0000 (22:08 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Thu, 15 Jul 2004 22:08:33 +0000 (22:08 +0000)
the double-scroll problem: when you pass a tracker function to TrackControl
you shouldn't call your hit function again afterwards. Fixes #711989.

Mac/Tools/IDE/Wcontrols.py

index 3d523836370793f81c25660496d7f5c6723581fc..58fc31bfb962f2313006e66f784b345344dd718b 100644 (file)
@@ -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