Skip to content

Commit 7d94a59

Browse files
committedAug 23, 2016
[processing] add missed error() method
(cherry picked from commit 6a7fa7d)
1 parent f5ab36c commit 7d94a59

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed
 

‎python/plugins/processing/core/SilentProgress.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,16 @@ def setText(self, text):
3737
def setPercentage(self, i):
3838
pass
3939

40-
def setInfo(self, _):
40+
def setInfo(self, msg):
4141
pass
4242

43-
def setCommand(self, _):
43+
def setCommand(self, msg):
4444
pass
4545

46-
def setDebugInfo(self, _):
46+
def setDebugInfo(self, msg):
4747
pass
4848

49-
def setConsoleInfo(self, _):
49+
def setConsoleInfo(self, msg):
5050
pass
5151

5252
def close(self):

‎python/plugins/processing/gui/AlgorithmDialogBase.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ def setText(self, text):
171171
self.setInfo(text, False)
172172
QCoreApplication.processEvents()
173173

174+
def error(self, text):
175+
self.setInfo(msg, error=True)
176+
174177
def setParamValues(self):
175178
pass
176179

0 commit comments

Comments
 (0)
Please sign in to comment.