Commit 8d04985b authored by Sjoerd Mullender's avatar Sjoerd Mullender

Instead of single clicks, use double clicks to get the instance window.

parent 87a94331
......@@ -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
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment