Commit c408a5a2 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[widgets][spinbox] Use numpy for string generation from value

parent 0ec3444c
......@@ -88,7 +88,7 @@ class AbstractNumpySpinBox(QAbstractSpinBox):
:param value numpy_type: value to change to text
"""
return "{}".format(value)
return self.numpy_type(value).astype("str")
def valueFromText(self, text, pos):
"""Returns the value contained in the text
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment