Skip to content

Commit

Permalink
Merge cc112dd into c67b0cd
Browse files Browse the repository at this point in the history
  • Loading branch information
TEParsons committed Mar 18, 2021
2 parents c67b0cd + cc112dd commit 880ef04
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions psychopy/visual/textbox2/textbox2.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,8 @@ def __init__(self, win, text, font,
lineWidth=1, lineColor=None, fillColor=fillColor, opacity=0.1,
autoLog=False)
# then layout the text (setting text triggers _layout())
self.startText = text
self._text = ''
self.text = text if text is not None else ""
self.text = self.startText = text if text is not None else ""

# caret
self._editable = editable
Expand Down

0 comments on commit 880ef04

Please sign in to comment.