Flint: Fix channel selection
Closes #4332 (closed)
Backport of !6342 (merged)
This PR fixes the scroll restoration when a user select an item in the property view of the live curve plot.
A previous code was designed based of scroll location. It sounds like it does not work anymore. Maybe related to minor behavior change in Qt. Now the restoration is based on item index, which is more robust.
Edited by Valentin Valls