mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 08:17:49 -06:00
Cache a lot of items in the list so there are no glitches
This commit is contained in:
parent
e26e825d83
commit
233013c946
2 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue