Project/LexerAssociationDialog.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1131
7781e396c903
--- a/Project/LexerAssociationDialog.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/Project/LexerAssociationDialog.py	Fri Mar 11 16:51:57 2011 +0100
@@ -18,11 +18,12 @@
 
 from .Ui_LexerAssociationDialog import Ui_LexerAssociationDialog
 
+
 class LexerAssociationDialog(QDialog, Ui_LexerAssociationDialog):
     """
     Class implementing a dialog to enter lexer associations for the project.
     """
-    def __init__(self, project, parent = None):
+    def __init__(self, project, parent=None):
         """
         Constructor
         
@@ -82,7 +83,7 @@
             self.editorFileExtEdit.clear()
             self.editorLexerCombo.setCurrentIndex(0)
             self.pygmentsLexerCombo.setCurrentIndex(0)
-            self.editorLexerList.sortItems(self.editorLexerList.sortColumn(), 
+            self.editorLexerList.sortItems(self.editorLexerList.sortColumn(),
                 self.editorLexerList.header().sortIndicatorOrder())
     
     @pyqtSlot()

eric ide

mercurial