Skip to content
Permalink
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 1625d1fa2ce9ce415d217aad8a026cf8372e5b25
Showing with 1 addition and 0 deletions.
  1. +1 −0 python/plugins/processing/gui/NumberInputPanel.py
@@ -198,6 +198,7 @@ def __init__(self, param):
self.btnDataDefined = None
else:
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.
You can’t perform that action at this time.