Editor: fixed an issue causing a crash.

Sun, 05 Apr 2020 18:17:08 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 05 Apr 2020 18:17:08 +0200
changeset 7506
7dc87ee87bf4
parent 7505
7d3cfeeb5f4f
child 7508
84ca2e61e6f6

Editor: fixed an issue causing a crash.

eric6/QScintilla/Editor.py file | annotate | diff | comparison | revisions
--- a/eric6/QScintilla/Editor.py	Sun Apr 05 16:19:12 2020 +0200
+++ b/eric6/QScintilla/Editor.py	Sun Apr 05 18:17:08 2020 +0200
@@ -3150,7 +3150,7 @@
             txt = self.text()
             txtExpanded = txt.expandtabs(self.__getEditorConfig("TabWidth"))
             if txtExpanded != txt:
-                self.beginUndoAction
+                self.beginUndoAction()
                 self.setText(txt)
                 self.endUndoAction()
                 

eric ide

mercurial