Path: Fix readonly lockout bug with blank expression

This commit is contained in:
Russell Johnson
2021-05-26 23:03:43 -05:00
parent b4d90562c1
commit 1939ea7be4

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()