Skip to content

Commit 3a1104f

Browse files
ToddTodd
authored andcommitted
BF: Enable/disable OK button in Loop properties when text is edited rather than when button is pressed, meaning it can be re-enabled when a mistake is fixed
1 parent 2203928 commit 3a1104f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

psychopy/app/builder/dialogs/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,6 +1341,7 @@ def makeConstantsCtrls(self):
13411341
self.Bind(wx.EVT_BUTTON, self.onBrowseTrialsFile,
13421342
ctrls.browseCtrl)
13431343
ctrls.valueCtrl.Bind(wx.EVT_RIGHT_DOWN, self.viewConditions)
1344+
ctrls.valueCtrl.Bind(wx.EVT_TEXT, self.doValidate)
13441345
panelSizer.Add(ctrls.nameCtrl, [row, 0])
13451346
panelSizer.Add(ctrls.valueCtrl, [row, 1])
13461347
panelSizer.Add(ctrls.browseCtrl, [row, 2])

0 commit comments

Comments
 (0)