mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 12:47:49 -06:00
SidbarSimple now uses container proxy correctly
Fixes CURA-823
This commit is contained in:
parent
9151740be7
commit
bf3ce61b7f
1 changed files with 3 additions and 3 deletions
|
@ -159,7 +159,7 @@ Item
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
var density = parseInt(UM.ActiveProfile.settingValues.infill_sparse_density);
|
var density = parseInt(UM.ActiveProfile.settingValues.getValue("infill_sparse_density"));
|
||||||
for(var i = 0; i < infillModel.count; ++i)
|
for(var i = 0; i < infillModel.count; ++i)
|
||||||
{
|
{
|
||||||
if(density > infillModel.get(i).percentageMin && density <= infillModel.get(i).percentageMax )
|
if(density > infillModel.get(i).percentageMin && density <= infillModel.get(i).percentageMax )
|
||||||
|
@ -303,7 +303,7 @@ Item
|
||||||
text: catalog.i18nc("@option:check","Generate Brim");
|
text: catalog.i18nc("@option:check","Generate Brim");
|
||||||
style: UM.Theme.styles.checkbox;
|
style: UM.Theme.styles.checkbox;
|
||||||
|
|
||||||
checked: UM.ActiveProfile.valid ? UM.ActiveProfile.settingValues.adhesion_type == "brim" : false;
|
checked: UM.ActiveProfile.valid ? UM.ActiveProfile.settingValues.getValue("adhesion_type") == "brim" : false;
|
||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
|
@ -337,7 +337,7 @@ Item
|
||||||
text: catalog.i18nc("@option:check","Generate Support Structure");
|
text: catalog.i18nc("@option:check","Generate Support Structure");
|
||||||
style: UM.Theme.styles.checkbox;
|
style: UM.Theme.styles.checkbox;
|
||||||
|
|
||||||
checked: UM.ActiveProfile.valid ? UM.ActiveProfile.settingValues.support_enable : false;
|
checked: UM.ActiveProfile.valid ? UM.ActiveProfile.settingValues.getValue("support_enable") : false;
|
||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue