forked from qt-creator/qt-creator
QmlEditorWidgets: Fix missing character escape for transparent
When selecting transparency in the qt quick toolbar, the text inserted is missing quotes around transparent. Add missing quotes around transparent. Fixes: QTCREATORBUG-10769 Change-Id: Ibc5d10b2276b44aee8afad60c33f0394a7d75ba7 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -209,7 +209,7 @@ void ContextPaneWidgetRectangle::onColorNoneClicked()
|
||||
if (ui->colorNone->isChecked()) {
|
||||
ui->colorGradient->setEnabled(isGradientEditingEnabled());
|
||||
emit removeAndChangeProperty(QLatin1String("gradient"), QLatin1String("color"),
|
||||
QLatin1String("transparent"), true);
|
||||
QLatin1String("\"transparent\""), true);
|
||||
}
|
||||
ui->colorGradient->setEnabled(isGradientEditingEnabled());
|
||||
}
|
||||
|
Reference in New Issue
Block a user