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

Thu, 19 Dec 2013 15:07:01 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 19 Dec 2013 15:07:01 +0100
branch
5_3_x
changeset 3153
50f68100e6ff
parent 3151
0b3b451320f6
child 3157
0515293f05eb

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:33:02 2013 +0100
+++ b/QScintilla/Editor.py	Thu Dec 19 15:07:01 2013 +0100
@@ -2853,7 +2853,8 @@
                 if self.project.isOpen() and 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