Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions meshroom/ui/qml/Homepage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -291,14 +291,14 @@ Page {
Connections {
target: ThumbnailCache
function onThumbnailCreated(imgSource, callerID) {
let item = gridView.itemAtIndex(callerID); // item is an Image
let item = homepageGridView.itemAtIndex(callerID); // item is an Image
Comment thread
Alxiice marked this conversation as resolved.
if (item && item.source === imgSource) {
item.updateThumbnail()
return
}
// fallback in case the Image cellID changed
for (let idx = 0; idx < gridView.count; idx++) {
item = gridView.itemAtIndex(idx)
for (let idx = 0; idx < homepageGridView.count; idx++) {
item = homepageGridView.itemAtIndex(idx)
if (item && item.source === imgSource) {
item.updateThumbnail()
}
Expand Down
Loading