QHeaderView - call viewport->update() in setDefaultSectionSize
Just like in resizeSection, moveSection, swapSection (and more) we should call update on the viewport after setDefaultSectionSize. Change-Id: I88154138d98f644050054d7cd287a0addd9a9cf9 Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
This commit is contained in:
parent
cf27bc6277
commit
7a49d8dc06
@ -3388,6 +3388,7 @@ void QHeaderViewPrivate::setDefaultSectionSize(int size)
|
||||
sectionStartposRecalc = true;
|
||||
if (hasAutoResizeSections())
|
||||
doDelayedResizeSections();
|
||||
viewport->update();
|
||||
}
|
||||
|
||||
void QHeaderViewPrivate::recalcSectionStartPos() const // linear (but fast)
|
||||
|
Loading…
x
Reference in New Issue
Block a user