--- a/UI/FindFileNameDialog.py Mon Aug 09 18:31:43 2010 +0200 +++ b/UI/FindFileNameDialog.py Mon Aug 09 19:57:09 2010 +0200 @@ -31,6 +31,8 @@ @signal sourceFile(string) emitted to open a file in the editor @signal designerFile(string) emitted to open a Qt-Designer file """ + sourceFile = pyqtSignal(str) + def __init__(self, project, parent = None): """ Constructor @@ -82,7 +84,7 @@ if fileName.endswith('.ui'): self.emit(SIGNAL('designerFile'), os.path.join(filePath, fileName)) else: - self.emit(SIGNAL('sourceFile'), os.path.join(filePath, fileName)) + self.sourceFile.emit(os.path.join(filePath, fileName)) def __searchFile(self): """