diff --git a/src/Gui/propertyeditor/PropertyItem.cpp b/src/Gui/propertyeditor/PropertyItem.cpp index 3c5faf989a..7a44222ec9 100644 --- a/src/Gui/propertyeditor/PropertyItem.cpp +++ b/src/Gui/propertyeditor/PropertyItem.cpp @@ -546,9 +546,12 @@ QVariant PropertyItem::data(int column, int role) const else if (role == Qt::DisplayRole) { QVariant val = parent->property(qPrintable(objectName())); return toString(val); - - } - else + } + else if( role == Qt::TextColorRole) { + if(hasExpression()) + return QVariant::fromValue(QApplication::palette().color(QPalette::Link)); + return QVariant(); + } else return QVariant(); } if (role == Qt::EditRole)