Skip to content

Commit

Permalink
Merge pull request #86 from ceccopierangiolieugenio/spinboxFix
Browse files Browse the repository at this point in the history
Fix Spinbox error #85
  • Loading branch information
ceccopierangiolieugenio authored Dec 19, 2022
2 parents 99e9bf0 + 82c8a48 commit 1c5f5b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TermTk/TTkWidgets/spinbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def setValue(self, value):

@pyTTkSlot(str)
def _textEdited(self, text):
self.setValue(int(text))
self.setValue(int(str(text)))
self._lineEdit.setText(str(self._value))

def keyEvent(self, evt):
Expand Down

0 comments on commit 1c5f5b8

Please sign in to comment.