diff --git a/src/Gui/propertyeditor/PropertyItem.cpp b/src/Gui/propertyeditor/PropertyItem.cpp index 49d1cb07f9..f817a5bde3 100644 --- a/src/Gui/propertyeditor/PropertyItem.cpp +++ b/src/Gui/propertyeditor/PropertyItem.cpp @@ -561,7 +561,7 @@ QVariant PropertyItem::data(int column, int role) const return toolTip(propertyItems[0]); else if( role == Qt::TextColorRole) { if(hasExpression()) - return QVariant::fromValue(QColor(0,0,255.0)); + return QVariant::fromValue(QApplication::palette().color(QPalette::Link)); return QVariant(); } else return QVariant();