Skip to content
Permalink
Browse files

[processing] fix error when editing script help

  • Loading branch information
alexbruy committed May 5, 2014
1 parent 70225a3 commit 57b450aae53e4febcba6d8a718fc830061f74b9b
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/gui/ScriptEditorDialog.py
@@ -109,9 +109,9 @@ def __init__(self, algType, alg):
def editHelp(self):
if self.alg is None:
if self.algType == self.SCRIPT_PYTHON:
alg = ScriptAlgorithm(None, unicode(self.editor.toPlainText()))
alg = ScriptAlgorithm(None, unicode(self.editor.text()))
elif self.algType == self.SCRIPT_R:
alg = RAlgorithm(None, unicode(self.editor.toPlainText()))
alg = RAlgorithm(None, unicode(self.editor.text()))
else:
alg = self.alg

0 comments on commit 57b450a

Please sign in to comment.
You can’t perform that action at this time.