Skip to content
Commit be9d99d4 authored by Cristian Oneț's avatar Cristian Oneț
Browse files

BUG: 294093 - Make sure that the header state is restored correctly.

Explanation (I figured this out by debugging Qt code):
Do this by setting the model of the view *before* the header state is being restored.
This is necessary because in some cases a layout of the items is triggered which causes
the header to ask for the column count from the model which is 0 if the model is not set
and this causes the restored section sizes to be lost after the model is finally set.
parent 720d999a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment