Skip to content

Commit 6d4f66b

Browse files
committed
BF: Fold all toggle not working in Coder view
Looks like the signature to wx.stc.FoldAll has changed and now requires the action to be named (STC_FOLDACTION_TOGGLE, STC_FOLDACTION_CONTRACT, or STC_FOLDACTION_EXPAND)
1 parent 869a99f commit 6d4f66b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

psychopy/app/coder/coder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2671,7 +2671,7 @@ def resetFont(self, event):
26712671
self.currentDoc.resetFontSize()
26722672

26732673
def foldAll(self, event):
2674-
self.currentDoc.FoldAll()
2674+
self.currentDoc.FoldAll(wx.stc.STC_FOLDACTION_TOGGLE)
26752675

26762676
# def unfoldAll(self, event):
26772677
# self.currentDoc.ToggleFoldAll(expand = False)

0 commit comments

Comments
 (0)