Fix unselect bug of Patient grid after delete.

This commit is contained in:
Krad
2022-03-08 10:10:52 +08:00
parent 9c1b53832f
commit 3eff53a74b

View File

@@ -244,6 +244,7 @@ SelectFormWidget::SelectFormWidget(QWidget* parent) :
{
table->selectRow(0);
model->selectRow(0);
currentRow = 0;
PatientInformation pat;
#define ADD_PATIENT_PROPERTY(val)\
pat. val = model->data(model->index(0,PatientInformationEnum:: val)).toString();
@@ -310,4 +311,5 @@ SelectFormWidget::SelectFormWidget(QWidget* parent) :
SelectFormWidget::~SelectFormWidget()
{
}