Cache a lot of items in the list so there are no glitches

This commit is contained in:
Diego Prado Gesto 2019-05-13 13:23:10 +02:00
parent e26e825d83
commit 233013c946
2 changed files with 3 additions and 3 deletions

View file

@ -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
{ {

View file

@ -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:
{ {