From e9c4a8b5cea7ba3597122360d314dea54b9ea9b2 Mon Sep 17 00:00:00 2001 From: David Holdeman Date: Fri, 17 Mar 2023 20:25:15 -0500 Subject: [PATCH] Path: set property --- src/Mod/Path/Path/Base/Gui/Util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: