Skip to content

Commit

Permalink
[processing] added some extra info in modeler calculator
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Jul 12, 2014
1 parent f5b84ca commit 1bf3be5
Showing 1 changed file with 6 additions and 3 deletions.
Expand Up @@ -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()
Expand Down

0 comments on commit 1bf3be5

Please sign in to comment.