Skip to content
Permalink
Browse files

[processing] added some extra info in modeler calculator

  • Loading branch information
volaya committed Jul 12, 2014
1 parent f5b84ca commit 1bf3be5a432e467908c8d9a2753e91b68912f01b
Showing with 6 additions and 3 deletions.
  1. +6 −3 python/plugins/processing/modeler/CalculatorModelerAlgorithm.py
@@ -85,9 +85,12 @@ def setupUi(self):
text = ('You can refer to model values in you formula, using'
'single-letter variables, as follows:\n')
ichar = 97
for number in numbers:
text += chr(ichar) + '->' + self.resolveValueDescription(number) + '\n'
ichar += 1
if numbers:
for number in numbers:
text += chr(ichar) + '->' + self.resolveValueDescription(number) + '\n'
ichar += 1
else:
text += "\n - No numerical variables are available."
self.infoText.setText(text)
self.infoText.setEnabled(False)
self.formulaText = QtGui.QLineEdit()

0 comments on commit 1bf3be5

Please sign in to comment.