Skip to content
Permalink
Browse files

[processing] replace greater than and lower than characters in log

fixes #15748
  • Loading branch information
volaya committed Oct 28, 2016
1 parent 05e70b2 commit 3c8c509c8188e9db302278ac743f1b2c7a740a38
Showing with 4 additions and 3 deletions.
  1. +4 −3 python/plugins/processing/gui/AlgorithmDialogBase.py
@@ -64,9 +64,9 @@ def __init__(self, alg):

self.setWindowTitle(self.alg.displayName())

#~ desktop = QDesktopWidget()
#~ if desktop.physicalDpiX() > 96:
#~ self.txtHelp.setZoomFactor(desktop.physicalDpiX() / 96)
# ~ desktop = QDesktopWidget()
# ~ if desktop.physicalDpiX() > 96:
# ~ self.txtHelp.setZoomFactor(desktop.physicalDpiX() / 96)

algHelp = self.alg.shortHelp()
if algHelp is None:
@@ -139,6 +139,7 @@ def resetGUI(self):
self.btnClose.setEnabled(True)

def setInfo(self, msg, error=False):
msg = msg.replace("<", "&lt;").replace(">", "&gt;")
if error:
self.txtLog.append('<span style="color:red"><br>%s<br></span>' % msg)
else:

0 comments on commit 3c8c509

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