mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-10-01 05:37:15 +08:00
Adding a machine now hides if there are no more pages
This commit is contained in:
parent
97f80914c5
commit
a49ce21fbe
@ -274,6 +274,11 @@ ColumnLayout
|
|||||||
{
|
{
|
||||||
elementRoot.currentPage += 1
|
elementRoot.currentPage += 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (elementRoot.getPageCount() == elementRoot.currentPage)
|
||||||
|
{
|
||||||
|
elementRoot.visible = false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user