mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-02 16:54:23 +08:00
Remove superfluous log and unneeded hide
This commit is contained in:
parent
8833e11cdb
commit
de60fb47bf
@ -197,9 +197,6 @@ Item
|
|||||||
|
|
||||||
var pages = machineList.model.getItem(machineList.currentIndex).pages
|
var pages = machineList.model.getItem(machineList.currentIndex).pages
|
||||||
|
|
||||||
console.log(pages)
|
|
||||||
console.log(pages.length)
|
|
||||||
|
|
||||||
// Insert new pages (if any)
|
// Insert new pages (if any)
|
||||||
for(var i = 0; i < pages.length; i++)
|
for(var i = 0; i < pages.length; i++)
|
||||||
{
|
{
|
||||||
@ -221,11 +218,6 @@ Item
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (elementRoot.getPageCount() == elementRoot.currentPage)
|
|
||||||
{
|
|
||||||
elementRoot.visible = false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user