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

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