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):
|
def mouse_down(self, detail):
|
||||||
(h, v), clicks, button, mask = detail
|
(h, v), clicks, button, mask = detail
|
||||||
|
if clicks != 2:
|
||||||
|
return
|
||||||
i = v / stdwin.lineheight()
|
i = v / stdwin.lineheight()
|
||||||
if 5 <= i < len(self.displaylist):
|
if 5 <= i < len(self.displaylist):
|
||||||
import string
|
import string
|
||||||
|
|
|
@ -63,6 +63,8 @@ class FrameWindow(basewin.BaseWindow):
|
||||||
|
|
||||||
def mouse_down(self, detail):
|
def mouse_down(self, detail):
|
||||||
(h, v), clicks, button, mask = detail
|
(h, v), clicks, button, mask = detail
|
||||||
|
if clicks != 2:
|
||||||
|
return
|
||||||
i = v / stdwin.lineheight()
|
i = v / stdwin.lineheight()
|
||||||
if 5 <= i < len(self.displaylist):
|
if 5 <= i < len(self.displaylist):
|
||||||
import string
|
import string
|
||||||
|
|
Loading…
Reference in New Issue