Commit d58a43e4 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Show the correct opacity in the segment gradient editor

BUG:394887
(cherry picked from commit 807aebf9)
parent 226aa9a6
......@@ -73,11 +73,11 @@ void KisAutogradient::slotSelectedSegment(KoGradientSegment* segment)
comboBoxInterpolationType->setCurrentIndex(segment->interpolation());
int leftOpacity = segment->startColor().opacityF();
intNumInputLeftOpacity->setValue(leftOpacity);
intNumInputLeftOpacity->setValue(leftOpacity * 100);
intNumInputLeftOpacity->setSuffix(i18n(" %"));
int rightOpacity = segment->endColor().opacityF();
intNumInputRightOpacity->setValue(rightOpacity);
intNumInputRightOpacity->setValue(rightOpacity * 100);
intNumInputRightOpacity->setSuffix(i18n(" %"));
paramChanged();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment