def manage_cases(self): ''' Create, edit, delete, rename cases, add cases to files or parts of files, add memos to cases ''' ui = DialogCases(self.settings, self.ui.textEdit) ui.exec_() self.clean_dialog_refs()
def manage_cases(self): """ Create, edit, delete, rename cases, add cases to files or parts of files, add memos to cases. """ for d in self.dialogList: if type(d).__name__ == "DialogCases": return ui = DialogCases(self.app, self.ui.textEdit) self.dialogList.append(ui) ui.show() self.clean_dialog_refs()