Instead of single clicks, use double clicks to get the instance window.
This commit is contained in:
parent
148644d5ac
commit
be80e0e83e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue