Change-Id: Ibe295741ee323522b98e4fd834f61053f9053e1f
Reviewed-by: Martin Jones
Reviewed-by: Martin Jones <martin.jones@nokia.com>
if (!currentIndexCleared)
updateCurrent(currentChanges.newCurrentIndex);
}
+
+ if (!visibleAffected)
+ visibleAffected = !currentChanges.pendingChanges.changes().isEmpty();
currentChanges.reset();
updateSections();
if (prevItemCount != itemCount)
emit q->countChanged();
-
- if (!visibleAffected)
- visibleAffected = !currentChanges.pendingChanges.changes().isEmpty();
if (!visibleAffected && viewportChanged)
updateViewport();