mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:35:57 +08:00
Fix updating upper handle in layer view
CURA-4432
This commit is contained in:
parent
ea01d6ad01
commit
0e7f209efa
@ -368,6 +368,11 @@ Item
|
||||
// update values when layer data changes
|
||||
Connections {
|
||||
target: UM.LayerView
|
||||
onMaxLayersChanged:
|
||||
{
|
||||
slider.setUpperValue(UM.LayerView.currentLayer);
|
||||
slider.updateRangeHandle();
|
||||
}
|
||||
onMinimumLayerChanged: slider.setLowerValue(UM.LayerView.minimumLayer)
|
||||
onCurrentLayerChanged: slider.setUpperValue(UM.LayerView.currentLayer)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user