summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/lib-stdwin/wdbframewin.py2
-rwxr-xr-xLib/stdwin/wdbframewin.py2
2 files changed, 4 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
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