mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Fix a crash when resizing a header view with all sections hidden
This commit is contained in:
@@ -383,6 +383,9 @@ void RDHeaderView::resizeSectionsWithHints()
|
||||
minsizesTotal += sizes[i];
|
||||
}
|
||||
|
||||
if(stretchHintTotal == 0)
|
||||
return;
|
||||
|
||||
int available = 0;
|
||||
|
||||
if(orientation() == Qt::Horizontal)
|
||||
|
||||
Reference in New Issue
Block a user