@@ -164,6 +164,12 @@ Item {
164 onPreviewModelChanged: preview.opacity = 0;
164 onPreviewModelChanged: preview.opacity = 0;
165 onReadyChanged: if (ready) fadeIn.start()
165 onReadyChanged: if (ready) fadeIn.start()
166 previewModel: {
166 previewModel: {
168+ // We need the isCurrent because the scope fails to
169+ // deliver the preview if we ask for one after other very quickly
170+ // If we remove the isCurrent, we will have to think another way of
171+ // doing the fadeIn or just don't do it at all or just decide
172+ // this code is good enough and remove the TODO
167 if (isCurrent) {
173 if (isCurrent) {
168 var previewStack = root.scope.preview(result);
174 var previewStack = root.scope.preview(result);
169 return previewStack.get(0);
175 return previewStack.get(0);