diff options
Diffstat (limited to 'Lib/defconQt/featureTextEditor.py')
| -rw-r--r-- | Lib/defconQt/featureTextEditor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/defconQt/featureTextEditor.py b/Lib/defconQt/featureTextEditor.py index 75f4de4..9b32290 100644 --- a/Lib/defconQt/featureTextEditor.py +++ b/Lib/defconQt/featureTextEditor.py @@ -190,7 +190,7 @@ class TextEditor(QPlainTextEdit): cursor.movePosition(QTextCursor.EndOfLine) super(TextEditor, self).keyPressEvent(event) - newLineSpace = "".join((self._indent for _ in range(indentLvl))) + newLineSpace = "".join(self._indent for _ in range(indentLvl)) cursor.insertText(newLineSpace) if newBlock: super(TextEditor, self).keyPressEvent(event) |
