def runEditor(self): if self.canvas.ui != None: self.canvas.ui.close() self.editor = rcmanagerEditor.rcmanagerEditorWidget() self.editor.setModal(True) self.editor.show() self.editor.readConfig(self.configFile) self.connect(self.editor, QtCore.SIGNAL('finished()'), self.readConfig)