mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 03:46:00 +08:00
Cache a lot of items in the list so there are no glitches
This commit is contained in:
parent
e26e825d83
commit
233013c946
@ -14,7 +14,7 @@ import Cura 1.0 as Cura
|
|||||||
//
|
//
|
||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
UM.I18nCatalog { id: catalog; name: "cura" }
|
// UM.I18nCatalog { id: catalog; name: "cura" }
|
||||||
|
|
||||||
id: base
|
id: base
|
||||||
height: childrenRect.height
|
height: childrenRect.height
|
||||||
@ -85,7 +85,7 @@ Item
|
|||||||
{
|
{
|
||||||
id: machineList
|
id: machineList
|
||||||
|
|
||||||
cacheBuffer: 0 // Workaround for https://bugreports.qt.io/browse/QTBUG-49224
|
cacheBuffer: 1000000 // Set a large cache to effectively just cache every list item.
|
||||||
|
|
||||||
model: UM.DefinitionContainersModel
|
model: UM.DefinitionContainersModel
|
||||||
{
|
{
|
||||||
|
@ -72,7 +72,7 @@ Item
|
|||||||
section.criteria: ViewSection.FullString
|
section.criteria: ViewSection.FullString
|
||||||
section.delegate: sectionHeading
|
section.delegate: sectionHeading
|
||||||
|
|
||||||
cacheBuffer: 0 // Workaround for https://bugreports.qt.io/browse/QTBUG-49224
|
cacheBuffer: 1000000 // Set a large cache to effectively just cache every list item.
|
||||||
|
|
||||||
Component.onCompleted:
|
Component.onCompleted:
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user