Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 807aebf9 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Show the correct opacity in the segment gradient editor

BUG:394887
parent 02f785f4
......@@ -72,11 +72,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