Fix unselect bug of Patient grid after delete.
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user