Skip to content

Commit

Permalink
BF: Fold all toggle not working in Coder view
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
peircej committed Oct 27, 2020
1 parent 869a99f commit 6d4f66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psychopy/app/coder/coder.py
Original file line number Diff line number Diff line change
Expand Up @@ -2671,7 +2671,7 @@ def resetFont(self, event):
self.currentDoc.resetFontSize()

def foldAll(self, event):
self.currentDoc.FoldAll()
self.currentDoc.FoldAll(wx.stc.STC_FOLDACTION_TOGGLE)

# def unfoldAll(self, event):
# self.currentDoc.ToggleFoldAll(expand = False)
Expand Down

0 comments on commit 6d4f66b

Please sign in to comment.