mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 19:19:02 +08:00
Fix layer height slider update issue
CURA-4758
This commit is contained in:
parent
47ba8b098c
commit
65e8762546
@ -70,6 +70,18 @@ Item
|
|||||||
onActiveVariantChanged: qualityModel.update()
|
onActiveVariantChanged: qualityModel.update()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Connections {
|
||||||
|
target: base
|
||||||
|
onVisibleChanged:
|
||||||
|
{
|
||||||
|
// update needs to be called when the widgets are visible, otherwise the step width calculation
|
||||||
|
// will fail because the width of an invisible item is 0.
|
||||||
|
if (visible) {
|
||||||
|
qualityModel.update();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ListModel
|
ListModel
|
||||||
{
|
{
|
||||||
id: qualityModel
|
id: qualityModel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user