Path: Fix readonly lockout bug with blank expression

This commit is contained in:
Russell Johnson
2021-10-07 13:34:01 -05:00
committed by sliptonic
parent 39da720c8a
commit c8109c9401
+2 -2
View File
@@ -68,10 +68,10 @@ def updateInputField(obj, prop, widget, onBeforeChange=None):
isDiff = True
break
if noExpr:
widget.setProperty('readonly', False)
widget.setReadOnly(False)
widget.setStyleSheet("color: black")
else:
widget.setProperty('readonly', True)
widget.setReadOnly(True)
widget.setStyleSheet("color: gray")
widget.update()