summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@yahoo.com.ar>2013-07-10 16:20:25 -0300
committerIvan Alejandro <ivanalejandro0@yahoo.com.ar>2013-07-10 16:20:25 -0300
commit5718cff69ac12b57af4533859a0e8e01afbca354 (patch)
tree4dd1fe1f7f08758561d11c8c22e798e4d179b245 /src
parent6425331ad6cb74ac44ed95b98adf4eae0f6e6255 (diff)
Bugfix: parse \n in the log window. Closes #3151.
Diffstat (limited to 'src')
-rw-r--r--src/leap/gui/loggerwindow.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/leap/gui/loggerwindow.py b/src/leap/gui/loggerwindow.py
index dd724ac7..dc1e273d 100644
--- a/src/leap/gui/loggerwindow.py
+++ b/src/leap/gui/loggerwindow.py
@@ -78,6 +78,7 @@ class LoggerWindow(QtGui.QWidget):
"""
level = log[LeapLogHandler.RECORD_KEY].levelname
message = log[LeapLogHandler.MESSAGE_KEY]
+ message = message.replace('\n', '<br>\n')
if self._logs_to_display[level]:
self.ui.txtLogHistory.append(message)