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

This commit is contained in:
Sjoerd Mullender 1993-10-01 14:39:45 +00:00
parent 148644d5ac
commit be80e0e83e
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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