--- a/Project/NewDialogClassDialog.py Fri Mar 11 08:55:14 2011 +0100 +++ b/Project/NewDialogClassDialog.py Fri Mar 11 16:51:57 2011 +0100 @@ -17,11 +17,12 @@ from .Ui_NewDialogClassDialog import Ui_NewDialogClassDialog + class NewDialogClassDialog(QDialog, Ui_NewDialogClassDialog): """ Class implementing a dialog to ente the data for a new dialog class file. """ - def __init__(self, defaultClassName, defaultFile, defaultPath, parent = None): + def __init__(self, defaultClassName, defaultFile, defaultPath, parent=None): """ Constructor @@ -60,8 +61,8 @@ """ self.okButton.setEnabled( self.classnameEdit.text() != "" and \ - self.filenameEdit.text() != "" and \ - self.pathnameEdit.text() != "") + self.filenameEdit.text() != "" and \ + self.pathnameEdit.text() != "") def on_classnameEdit_textChanged(self, text): """