Skip to content

Commit

Permalink
Explicitly convert ComboElement values to ints
Browse files Browse the repository at this point in the history
  • Loading branch information
ghorsington committed Dec 16, 2018
1 parent 4eecb6b commit 97748b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GUI/maidfiddler/ui/qt_elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self, qt_element):
self.qt_element.setMinimum(-2**31)

def value(self):
return self.qt_element.value()
return int(self.qt_element.value())

def set_value(self, val):
self.qt_element.blockSignals(True)
Expand Down

0 comments on commit 97748b2

Please sign in to comment.