mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-03 03:54:01 -06:00
Adding a machine now hides if there are no more pages
This commit is contained in:
parent
97f80914c5
commit
a49ce21fbe
1 changed files with 5 additions and 0 deletions
|
@ -274,6 +274,11 @@ ColumnLayout
|
||||||
{
|
{
|
||||||
elementRoot.currentPage += 1
|
elementRoot.currentPage += 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (elementRoot.getPageCount() == elementRoot.currentPage)
|
||||||
|
{
|
||||||
|
elementRoot.visible = false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue