Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit be80e0e

Browse files
Instead of single clicks, use double clicks to get the instance window.
1 parent 148644d commit be80e0e

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

Lib/lib-stdwin/wdbframewin.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ def command(self, detail):
6363

6464
def mouse_down(self, detail):
6565
(h, v), clicks, button, mask = detail
66+
if clicks != 2:
67+
return
6668
i = v / stdwin.lineheight()
6769
if 5 <= i < len(self.displaylist):
6870
import string

Lib/stdwin/wdbframewin.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ def command(self, detail):
6363

6464
def mouse_down(self, detail):
6565
(h, v), clicks, button, mask = detail
66+
if clicks != 2:
67+
return
6668
i = v / stdwin.lineheight()
6769
if 5 <= i < len(self.displaylist):
6870
import string

0 commit comments

Comments
 (0)