Browse Source

fix(menu): don't prevent setting the text color of an item (#513)

pull/518/head
slook 4 months ago committed by GitHub
parent
commit
370684ebc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      libs/pyTermTk/TermTk/TTkWidgets/menu.py

1
libs/pyTermTk/TermTk/TTkWidgets/menu.py

@ -155,7 +155,6 @@ class TTkMenuButton(TTkWidget):
:param text:
:type text: :py:class:`TTkString`
'''
if self._text == text: return
self._text = TTkString(text)
self.textChanged.emit(self._text)
self.update()

Loading…
Cancel
Save