Cura/resources/qml/PrintSetupSelector
joeydelarago fd8d6498ee When changing to an intent with infillDensity > 100 in recommended settings the RecommendedInfillDensitySelector would set infillDensity=100.
This is because the onValueChanged function checks if the slider has a different value from the settings and updates the settings if it does. The slider has a max value of 100, so when setting the sliders value to 1000 the slider would update to have a value of 100. This would then update the setting to value to 100.

The fix is as follows. When updating the slider value > 100 just ignore the first onValueChanged. Following onValueChanged, which are triggered by the user sliding the slider, will still trigger.

CURA-9488
2022-08-10 16:45:16 +02:00
..
Custom Remove the NoIntentIcon 2022-06-13 13:33:39 +02:00
Recommended When changing to an intent with infillDensity > 100 in recommended settings the RecommendedInfillDensitySelector would set infillDensity=100. 2022-08-10 16:45:16 +02:00
PrintSetupSelector.qml Fix size of print setup selector 2022-04-19 16:42:43 +02:00
PrintSetupSelectorContents.qml Fix size of print setup selector 2022-04-19 16:42:43 +02:00
PrintSetupSelectorHeader.qml Fix display of profile name in header 2022-03-04 10:30:26 +01:00