Disable line wrapping in debug console.

For some reason this does not fix #144.
This commit is contained in:
Florian Bruhin 2014-10-03 12:23:43 +02:00
parent 0a6a8b4b4a
commit 179d108071

View File

@ -157,6 +157,7 @@ class ConsoleTextEdit(QTextEdit):
def __init__(self, parent=None):
super().__init__(parent)
self.setAcceptRichText(False)
self.setLineWrapMode(QTextEdit.NoWrap)
self.setReadOnly(True)
config.on_change(self.update_font, 'fonts', 'debug-console')
self.update_font()