pqColorTableModel is incorrect
pqColorTableModel
modifies internal data without firing appropriate notification events before the data is modified.
When using debug builds of Qt, this raises Qt asserts.
e.g. choose Red To Blue color present and hit apply
if you have a debug build of Qt, it will assert in pqColorTableModel::refresh()
. The issue is that these event are fired too late.
pqColorTableModel
shuold be refactored to not directly use the internal VTK-object that can be modified external to this model.