Skip to content

Commit eb18970

Browse files
committed
BF: Text validation was 1 character behind due to wx EVT_CHAR
1 parent 8695713 commit eb18970

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

psychopy/app/builder/dialogs/paramCtrls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def __init__(self, parent, valType,
163163
# Add self to sizer
164164
self._szr.Add(self, proportion=1, border=5, flag=wx.EXPAND)
165165
# Bind to validation
166-
self.Bind(wx.EVT_CHAR, self.validate)
166+
self.Bind(wx.EVT_TEXT, self.validate)
167167
self.validate()
168168

169169
def Show(self, value=True):

0 commit comments

Comments
 (0)