def manage_files(self): ''' Create text files or import files from odt, docx, html and plain text. Rename, delete and add memos to files. ''' ui = DialogManageFiles(self.settings, self.ui.textEdit) ui.exec_() self.clean_dialog_refs()
def manage_files(self): """ Create text files or import files from odt, docx, html and plain text. Rename, delete and add memos to files. """ for d in self.dialogList: if type(d).__name__ == "DialogManageFiles": return ui = DialogManageFiles(self.app, self.ui.textEdit) self.dialogList.append(ui) ui.show() self.clean_dialog_refs()