diff --git a/resources/qml/MachineSettings/ComboBoxWithOptions.qml b/resources/qml/MachineSettings/ComboBoxWithOptions.qml index 9f5f89dde1..18c8745f17 100644 --- a/resources/qml/MachineSettings/ComboBoxWithOptions.qml +++ b/resources/qml/MachineSettings/ComboBoxWithOptions.qml @@ -85,20 +85,6 @@ UM.TooltipArea currentIndex = i } } -// // Options come in as a string-representation of an OrderedDict -// if(propertyProvider.properties.options) -// { -// var options = propertyProvider.properties.options.match(/^OrderedDict\(\[\((.*)\)\]\)$/); -// if(options) -// { -// options = options[1].split("), ("); -// for(var i = 0; i < options.length; i++) -// { -// var option = options[i].substring(1, options[i].length - 1).split("', '"); -// append({ text: option[1], value: option[0] }); -// } -// } -// } } Component.onCompleted: updateModel()