@@ -394,10 +394,12 @@ void ListViewWithPageHeader::viewportMoved(Qt::Orientations orient)
394 // We will be changing the clip item, need to accomadate for it
394 // We will be changing the clip item, need to accomadate for it
395 // otherwise we move the firstItem down/up twice (unless the
395 // otherwise we move the firstItem down/up twice (unless the
396 // show header animation is running, where we want to keep the viewport stable)
396 // show header animation is running, where we want to keep the viewport stable)
397− if (!m_headerShowAnimation->isRunning())
397+ if (!m_headerShowAnimation->isRunning()) {
398 diff += oldHeaderItemShownHeight - m_headerItemShownHeight;
398 diff += oldHeaderItemShownHeight - m_headerItemShownHeight;
400 diff = -diff;
400 diff = -diff;
401+ m_contentHeightDirty = true;
402 if (!m_visibleItems.isEmpty()) {
404 if (!m_visibleItems.isEmpty()) {
403 updateClipItem();
405 updateClipItem();