mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 21:44:01 -06:00
The extrudersCHanged signal was incorrectly being emitted before the global stack had updated. This was causing the extruderIds to always return the old extruderIds to connected qml components.
The setting slider was incorrectly setting the slider value when updating the model. CURA-9793
This commit is contained in:
parent
c495f0de3f
commit
3ddebe7a84
3 changed files with 9 additions and 6 deletions
|
@ -83,9 +83,7 @@ RowLayout
|
|||
function roundSliderValueUpdateSetting()
|
||||
{
|
||||
// If the user interacts with the slider we round the value and update the setting.
|
||||
print("roundSliderValueUpdateSetting()")
|
||||
const roundedSliderValue = roundToNearestTen ? Math.round(settingSlider.value / 10) * 10 : Math.round(settingSlider.value)
|
||||
settingSlider.value = roundedSliderValue
|
||||
updateSetting(roundedSliderValue)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue