From 5718cff69ac12b57af4533859a0e8e01afbca354 Mon Sep 17 00:00:00 2001 From: Ivan Alejandro Date: Wed, 10 Jul 2013 16:20:25 -0300 Subject: Bugfix: parse \n in the log window. Closes #3151. --- src/leap/gui/loggerwindow.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/leap/gui') 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', '
\n') if self._logs_to_display[level]: self.ui.txtLogHistory.append(message) -- cgit v1.2.3