From 6d474dfe408dabccdcd6412daa83dcc15993ea70 Mon Sep 17 00:00:00 2001 From: Joey de l'Arago Date: Mon, 5 Dec 2022 11:56:22 +0100 Subject: [PATCH] Remove comments CURA-9793 --- .../qml/MachineSettings/ComboBoxWithOptions.qml | 14 -------------- 1 file changed, 14 deletions(-) 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()