Need the extra check here too
commitc45aa00df65594cc8069f9d9bec431328a66d87a
authorAlbert Astals Cid <albert.astals@canonical.com>
dateTue 5 Jan 2016, 10:24 (11 years ago)
parent0b55f8f
plugins/Dash/listviewwithpageheader.cpp+4
@@ -1359,6 +1359,10 @@ void ListViewWithPageHeader::updatePolish()
13591359
13601360 m_contentHeightDirty = false;
13611361 adjustMinYExtent();
1362+ if (contentHeight < height()) {
1363+ // need this since in the previous call to adjustMinYExtent contentHeight is not set yet
1364+ m_minYExtent = 0;
1365+ }
13621366 m_inContentHeightKeepHeaderShown = m_headerItem && m_headerItem->y() == contentY();
13631367 setContentHeight(contentHeight);
13641368 m_inContentHeightKeepHeaderShown = false;