`pqColorAnnotationsPropertyWidget` modifies property in constructor
This issue manifests as follows:
- Start paraview, builtin
- Open can.ex2, Apply
- Now hover over the "undo" button, instead of it saying "Undo Apply", it says "Undo Property Change"
This happens because pqColorAnnotationsPropertyWidget
which is getting created when building the Color Editor panel for the LUT on Apply, calls pqColorAnnotationsPropertyWidget::updateIndexedLookupState
which calls pqColorAnnotationsPropertyWidget::addActiveAnnotations
which modifies the properties on the LUT.
A pqPropertyWidget should never modify properties on creation. This means that based on whether the widget is created or not the application will behave differently! This is a bug.