mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-04 12:33:57 -06:00
Diable local printer ListView buffer to force redraw
CURA-6793
This commit is contained in:
parent
bd84c4d98d
commit
877bb1efdb
1 changed files with 5 additions and 1 deletions
|
@ -86,7 +86,11 @@ Item
|
||||||
{
|
{
|
||||||
id: machineList
|
id: machineList
|
||||||
|
|
||||||
cacheBuffer: 1000000 // Set a large cache to effectively just cache every list item.
|
// CURA-6793
|
||||||
|
// Enabling the buffer seems to cause the blank items issue. When buffer is enabled, if the ListView's
|
||||||
|
// individual item has a dynamic change on its visibility, the ListView doesn't redraw itself.
|
||||||
|
// The default value of cacheBuffer is platform-dependent, so we explicitly disable it here.
|
||||||
|
cacheBuffer: 0
|
||||||
|
|
||||||
model: UM.DefinitionContainersModel
|
model: UM.DefinitionContainersModel
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue