Fix a crash when resizing a header view with all sections hidden

This commit is contained in:
baldurk
2019-05-22 10:53:52 +01:00
parent 775fa9b635
commit 943a790319
@@ -383,6 +383,9 @@ void RDHeaderView::resizeSectionsWithHints()
minsizesTotal += sizes[i];
}
if(stretchHintTotal == 0)
return;
int available = 0;
if(orientation() == Qt::Horizontal)