Fixed an issue setting syntax style in a 'save as' operation.

Thu, 19 Dec 2013 15:05:40 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 19 Dec 2013 15:05:40 +0100
changeset 3152
0845347fe512
parent 3150
42a8d3b5bd57
child 3154
8578850cdc6a

Fixed an issue setting syntax style in a 'save as' operation.

QScintilla/Editor.py file | annotate | diff | comparison | revisions
--- a/QScintilla/Editor.py	Thu Dec 19 14:32:25 2013 +0100
+++ b/QScintilla/Editor.py	Thu Dec 19 15:05:40 2013 +0100
@@ -2947,7 +2947,8 @@
                         self.project.startswithProjectPath(fn):
                     self.project.appendFile(self.fileName)
                     self.addedToProject()
-                    self.setLanguage(self.fileName)
+                
+                self.setLanguage(self.fileName)
             
             self.lastModified = QFileInfo(self.fileName).lastModified()
             if newName is not None:

eric ide

mercurial