summaryrefslogtreecommitdiffstats
path: root/Lib/lib-stdwin
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>1993-10-01 14:39:45 (GMT)
committerSjoerd Mullender <sjoerd@acm.org>1993-10-01 14:39:45 (GMT)
commitbe80e0e83e80ef60d6d6401e5af765debddcb1f4 (patch)
tree82e0e6efc463fd96e17ea7474dea238dc2c4a647 /Lib/lib-stdwin
parent148644d5ac57826a8135b20e791062805c4fb046 (diff)
downloadcpython-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/lib-stdwin')
-rw-r--r--Lib/lib-stdwin/wdbframewin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/lib-stdwin/wdbframewin.py b/Lib/lib-stdwin/wdbframewin.py
index 3a7f6fe..db3d137 100644
--- a/Lib/lib-stdwin/wdbframewin.py
+++ b/Lib/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