diff --git a/src/Gui/ExpressionBinding.cpp b/src/Gui/ExpressionBinding.cpp index 3e0af0264f..1ed7b53fee 100644 --- a/src/Gui/ExpressionBinding.cpp +++ b/src/Gui/ExpressionBinding.cpp @@ -295,6 +295,7 @@ QPixmap ExpressionWidget::getIcon(const char* name, const QSize& size) const void ExpressionWidget::makeLabel(QLineEdit* le) { defaultPalette = le->palette(); + defaultPalette.setCurrentColorGroup(QPalette::Active); /* Icon for f(x) */ QFontMetrics fm(le->font());