mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
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:
parent
c461482765
commit
fd181ca0c3
1 changed files with 1 additions and 1 deletions
|
@ -344,7 +344,7 @@ class ExtruderManager(QObject):
|
||||||
# \param key The key of the setting to retieve values for.
|
# \param key The key of the setting to retieve values for.
|
||||||
#
|
#
|
||||||
# \return String representing the extruder values
|
# \return String representing the extruder values
|
||||||
@pyqtSlot(str, result="QList<int>")
|
@pyqtSlot(str, result="QVariant")
|
||||||
def getInstanceExtruderValues(self, key):
|
def getInstanceExtruderValues(self, key):
|
||||||
return ExtruderManager.getExtruderValues(key)
|
return ExtruderManager.getExtruderValues(key)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue