Fixed an issue not switching the programming language, when the file is saved with a changed eflags line.

Thu, 19 Sep 2013 19:23:08 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 19 Sep 2013 19:23:08 +0200
changeset 2926
ae7c9d9f3b4a
parent 2925
04896af1b0e1
child 2927
f36b757378f1

Fixed an issue not switching the programming language, when the file is saved with a changed eflags line.

QScintilla/Editor.py file | annotate | diff | comparison | revisions
--- a/QScintilla/Editor.py	Thu Sep 19 18:58:33 2013 +0200
+++ b/QScintilla/Editor.py	Thu Sep 19 19:23:08 2013 +0200
@@ -2844,7 +2844,7 @@
             self.setWindowTitle(self.fileName)
             # get eric specific flags
             self.__processFlags()
-            if self.lexer_ is None and not self.__lexerReset:
+            if not self.__lexerReset:
                 self.setLanguage(self.fileName)
             
             if saveas:

eric ide

mercurial