@@ -871,6 +871,7 @@ void ListViewWithPageHeader::itemCreated(int modelIndex, QObject *object)
871871 QQmlContext *context = QQmlEngine::contextForObject(item)->parentContext();
872872 context->setContextProperty(QLatin1String("ListViewWithPageHeader"), this);
873873 context->setContextProperty(QLatin1String("heightToClip"), QVariant::fromValue<int>(0));
874+ Q_ASSERT (modelIndex == m_asyncRequestedIndex);
874875 if (modelIndex == m_asyncRequestedIndex) {
875876 createItem(modelIndex, false);
876877 refill();