diff -r 1b59c4ba121e -r 8cd4d08fa9f6 Project/LexerAssociationDialog.py --- 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()