Skip to content
Commit 5f5ae9e1 authored by David Redondo's avatar David Redondo 🏎
Browse files

Provide a default for enabled columns

Due to a race in item instantiation if the process table view
is instantiated before the column configuration dialog the enabled
attributes will be initially empty. However we still enable columns
which then will be filtered out, confusing the proxy model stack
as there will be no valid parents anymore because the first column
has been filtered out but still claiming to have rows.
Delaying assignment of attributes causes a stack overflow due
to QSortFilterProxyModelPrivate::recursiveChildAcceptsRows calling
itself.
Providing here a default enabled column is a straightfoward fix
instead of trying to find the exact point of failure in the the proxymodels
provided by us and upstream and matches the default for columnDisplay.
BUG:470784
parent 7098ce92
Pipeline #469675 passed with stage
in 32 seconds
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