diff -r 58fe260e7469 -r 7ce719013078 Project/NewDialogClassDialog.py --- a/Project/NewDialogClassDialog.py Sat Oct 19 12:28:12 2013 +0200 +++ b/Project/NewDialogClassDialog.py Sat Oct 19 13:03:39 2013 +0200 @@ -61,8 +61,8 @@ Private slot to set the enable state of theok button. """ self.okButton.setEnabled( - self.classnameEdit.text() != "" and \ - self.filenameEdit.text() != "" and \ + self.classnameEdit.text() != "" and + self.filenameEdit.text() != "" and self.pathnameEdit.text() != "") def on_classnameEdit_textChanged(self, text): @@ -96,5 +96,5 @@ @return tuple giving the classname (string) and the file name (string) """ return self.classnameEdit.text(), \ - os.path.join(self.pathnameEdit.text(), \ + os.path.join(self.pathnameEdit.text(), self.filenameEdit.text())