svn path=/trunk/kdenlive/; revision=4213
QTextCursor cursor(i->document());
cursor.select(QTextCursor::Document);
QColor color = cursor.charFormat().foreground().color();
QTextCursor cursor(i->document());
cursor.select(QTextCursor::Document);
QColor color = cursor.charFormat().foreground().color();
- fontColorButton->setColor(color);
textAlpha->setValue(color.alpha());
textAlpha->setValue(color.alpha());
+ color.setAlpha(255);
+ fontColorButton->setColor(color);
if (!i->data(101).isNull()) {
textOutline->blockSignals(true);
if (!i->data(101).isNull()) {
textOutline->blockSignals(true);
if (!i->data(102).isNull()) {
textOutlineColor->blockSignals(true);
textOutlineAlpha->blockSignals(true);
if (!i->data(102).isNull()) {
textOutlineColor->blockSignals(true);
textOutlineAlpha->blockSignals(true);
- textOutlineColor->setColor(i->data(102).toString());
- textOutlineAlpha->setValue(QColor(i->data(102).toString()).alpha());
+ color = QColor(i->data(102).toString());
+ textOutlineAlpha->setValue(color.alpha());
+ color.setAlpha(255);
+ textOutlineColor->setColor(color);
textOutlineColor->blockSignals(false);
textOutlineAlpha->blockSignals(false);
}
textOutlineColor->blockSignals(false);
textOutlineAlpha->blockSignals(false);
}