Clean code.

This commit is contained in:
Krad
2022-05-11 09:40:26 +08:00
parent 2e9fb9960e
commit 24f6e4e97c
2 changed files with 1 additions and 16 deletions

View File

@@ -186,7 +186,7 @@ SelectFormWidget::SelectFormWidget(QWidget* parent) :
btnSelect->setEnabled(true);
});
// btn add slot
// EditPatientForm editAccept slot
connect(edit_patient, &EditPatientForm::editAccept, [=](PatientInformation* inf, bool& result) {
int selectedRow = table->currentIndex().row();
bool isAdd = inf->PatientUID.isEmpty();