Editor: fixed an issue causing a crash. maintenance

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 05 Apr 2020 18:17:08 +0200
branch
maintenance
changeset 7507
a4eb1787ea41
parent 7504
daa7d050b3af
child 7560
343db73c4842

Editor: fixed an issue causing a crash.
(grafted from 7dc87ee87bf434a21ed7318c15c1a5366b64ac88)

eric6/QScintilla/Editor.py file | annotate | diff | comparison | revisions
--- a/eric6/QScintilla/Editor.py	Sun Apr 05 12:07:42 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