mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Remove debugging code
CURA-8983
This commit is contained in:
parent
2761aed455
commit
c8be7832c8
1 changed files with 0 additions and 16 deletions
|
@ -222,22 +222,6 @@ Item
|
|||
id: colorDialog
|
||||
title: catalog.i18nc("@title", "Material color picker")
|
||||
color: properties.color_code
|
||||
// swatchColors: ["#2161AF", "#57AFB2", "#F7B32D", "#E33D4A", "#C088AD"]
|
||||
onAccepted: {
|
||||
base.setMetaDataEntry("color_code", properties.color_code, color);
|
||||
console.log("color_code");
|
||||
|
||||
const timer = Qt.createQmlObject("import QtQuick 2.0; Timer {}", base);
|
||||
timer.interval = 10000;
|
||||
timer.repeat = true;
|
||||
timer.triggered.connect(function () {
|
||||
console.log("updating colors");
|
||||
colorDialog.swatchColors = ["#2161AF", "#57AFB2", "#F7B32D", "#E33D4A", "#C088AD"];
|
||||
})
|
||||
|
||||
console.log("starting timers");
|
||||
timer.start();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue