Skip to content

Commit 370684e

Browse files
authored
fix(menu): don't prevent setting the text color of an item (#513)
1 parent 6410b77 commit 370684e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • libs/pyTermTk/TermTk/TTkWidgets

libs/pyTermTk/TermTk/TTkWidgets/menu.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ def setText(self, text):
155155
:param text:
156156
:type text: :py:class:`TTkString`
157157
'''
158-
if self._text == text: return
159158
self._text = TTkString(text)
160159
self.textChanged.emit(self._text)
161160
self.update()

0 commit comments

Comments
 (0)