Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] add missed error() method
(cherry picked from commit 6a7fa7d)
  • Loading branch information
alexbruy committed Aug 23, 2016
1 parent 3a3b9ab commit cd7a14d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/plugins/processing/core/SilentProgress.py
Expand Up @@ -37,16 +37,16 @@ def setText(self, text):
def setPercentage(self, i):
pass

def setInfo(self, _):
def setInfo(self, msg):
pass

def setCommand(self, _):
def setCommand(self, msg):
pass

def setDebugInfo(self, _):
def setDebugInfo(self, msg):
pass

def setConsoleInfo(self, _):
def setConsoleInfo(self, msg):
pass

def close(self):
Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/gui/AlgorithmDialogBase.py
Expand Up @@ -171,6 +171,9 @@ def setText(self, text):
self.setInfo(text, False)
QCoreApplication.processEvents()

def error(self, text):
self.setInfo(msg, error=True)

def setParamValues(self):
pass

Expand Down

0 comments on commit cd7a14d

Please sign in to comment.