Show the correct opacity in the segment gradient editor
BUG:394887 (cherry picked from commit 807aebf90487716ba39770cacf717071cdc1dc3e)