diff --git a/src/Mod/Path/Path/Base/Gui/Util.py b/src/Mod/Path/Path/Base/Gui/Util.py index 5516a20b51..eb567be1e3 100644 --- a/src/Mod/Path/Path/Base/Gui/Util.py +++ b/src/Mod/Path/Path/Base/Gui/Util.py @@ -89,10 +89,10 @@ def updateInputField(obj, prop, widget, onBeforeChange=None): break if exprSet: widget.setReadOnly(True) - widget.setStyleSheet("color: gray") + widget.setProperty("exprSet", "true") else: widget.setReadOnly(False) - widget.setStyleSheet("color: black") + widget.setProperty("exprSet", "false") widget.update() if isDiff: