(ui): reflect changes of presets in TF editor
Description
Our transfer function editor supports an optional list of presets that allows to pass several transfer functions. However, the service does not listen to the changes made to this list, which is annoying and can even lead to crashes.
Functional specifications
If the optional list is used, listen to any modifications and update the list of transfer functions. This should also try as much as possible to keep the currently selected transfer function.
Technical specifications
- Listen to the ADDED, REMOVED and CHANGED signals and update the combo box accordingly.
Test plan
This can be tested in an app that use this optional list, please ask me.