Change editpatientform to a only detail display widget.

This commit is contained in:
Krad
2022-04-02 14:49:10 +08:00
parent 19786da9fe
commit 2c686d6179
5 changed files with 131 additions and 225 deletions

View File

@@ -247,7 +247,6 @@ SelectFormWidget::SelectFormWidget(QWidget* parent) :
dialog.setAlertMessage(QString(tr("Delete Patient \"%1\" ?")).arg(pat_name));
if (dialog.exec() != QDialog::Accepted) return;
// need delete clear edit panel detail
edit_patient->setEditEnable(false);
edit_patient->clearPatientInformation();
model->setData(model->index(table->currentIndex().row(), PatientInformationEnum::Flag), 9);