Fix display of extruder values for enums

It wasn't always a list of ints. For enums, it's a list of strings. We have several other types. Just use variant.

Contributes to issue CURA-2232.
This commit is contained in:
Ghostkeeper 2016-09-16 13:17:58 +02:00
parent c461482765
commit fd181ca0c3
No known key found for this signature in database
GPG key ID: 701948C5954A7385

View file

@ -344,7 +344,7 @@ class ExtruderManager(QObject):
# \param key The key of the setting to retieve values for.
#
# \return String representing the extruder values
@pyqtSlot(str, result="QList<int>")
@pyqtSlot(str, result="QVariant")
def getInstanceExtruderValues(self, key):
return ExtruderManager.getExtruderValues(key)