Skip to content
Browse files
Disable direct parameter value input when data defined override is set
  • Loading branch information
nyalldawson committed Dec 2, 2017
1 parent 8c9147e commit 1625d1f
Showing 1 changed file with 1 addition and 0 deletions.
@@ -198,6 +198,7 @@ def __init__(self, param):
self.btnDataDefined = None
self.btnDataDefined.init(0, QgsProperty(), self.param.dynamicPropertyDefinition())
self.btnDataDefined.registerEnabledWidget(self.spnValue, False)

self.spnValue.valueChanged.connect(lambda: self.hasChanged.emit())

0 comments on commit 1625d1f

Please sign in to comment.