diff options
author | Sjoerd Mullender <sjoerd@acm.org> | 1993-10-01 14:39:45 (GMT) |
---|---|---|
committer | Sjoerd Mullender <sjoerd@acm.org> | 1993-10-01 14:39:45 (GMT) |
commit | be80e0e83e80ef60d6d6401e5af765debddcb1f4 (patch) | |
tree | 82e0e6efc463fd96e17ea7474dea238dc2c4a647 /Lib/stdwin | |
parent | 148644d5ac57826a8135b20e791062805c4fb046 (diff) | |
download | cpython-be80e0e83e80ef60d6d6401e5af765debddcb1f4.zip cpython-be80e0e83e80ef60d6d6401e5af765debddcb1f4.tar.gz cpython-be80e0e83e80ef60d6d6401e5af765debddcb1f4.tar.bz2 |
Instead of single clicks, use double clicks to get the instance window.
Diffstat (limited to 'Lib/stdwin')
-rwxr-xr-x | Lib/stdwin/wdbframewin.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/stdwin/wdbframewin.py b/Lib/stdwin/wdbframewin.py index 3a7f6fe..db3d137 100755 --- a/Lib/stdwin/wdbframewin.py +++ b/Lib/stdwin/wdbframewin.py @@ -63,6 +63,8 @@ class FrameWindow(basewin.BaseWindow): def mouse_down(self, detail): (h, v), clicks, button, mask = detail + if clicks != 2: + return i = v / stdwin.lineheight() if 5 <= i < len(self.displaylist): import string |