Workaround for ListView-cache-bug in Qt. [CURA-6435]

This commit is contained in:
Remco Burema 2019-04-17 16:40:05 +02:00
parent d72911df84
commit 5c28de05e1
2 changed files with 4 additions and 0 deletions

View file

@ -85,6 +85,8 @@ Item
{ {
id: machineList id: machineList
cacheBuffer: 0 // Workaround for https://bugreports.qt.io/browse/QTBUG-49224
model: UM.DefinitionContainersModel model: UM.DefinitionContainersModel
{ {
id: machineDefinitionsModel id: machineDefinitionsModel

View file

@ -72,6 +72,8 @@ 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
Component.onCompleted: Component.onCompleted:
{ {
// Select the first one that's not "unknown" by default. // Select the first one that's not "unknown" by default.