File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -435,6 +435,8 @@ def updateChunks(self):
435435 if node ._chunksCreated :
436436 nodechunks = node .getChunks ()
437437 chunks .extend (nodechunks )
438+ else :
439+ chunks .extend (node .chunkPlaceholder )
438440 if self ._sortedDFSChunks .objectList () == chunks :
439441 # Nothing has changed, return
440442 return
Original file line number Diff line number Diff line change @@ -500,7 +500,14 @@ Item {
500500 defaultColor: Colors .sysPalette .mid
501501 implicitHeight: 3
502502 width: parent .width
503- model: node && node .chunksCreated ? node .chunks : undefined
503+ model: {
504+ if (node && node .chunksCreated )
505+ return node .chunks
506+ else if (node && ! node .chunksCreated )
507+ return node .chunkPlaceholder
508+
509+ return undefined
510+ }
504511
505512 Rectangle {
506513 anchors .fill : parent
You can’t perform that action at this time.
0 commit comments