Add edit accept signal to EditPatientForm.
This commit is contained in:
@@ -29,6 +29,11 @@ EditPatientForm::EditPatientForm(QWidget *parent) :
|
||||
this->setEditEnable(false);
|
||||
restorePatientInformation();
|
||||
});
|
||||
connect(btnEditAccept,&QToolButton::clicked,[=](){
|
||||
storePatientInformation();
|
||||
this->setEditEnable(false);
|
||||
emit editAccept(getPatientInformation());
|
||||
});
|
||||
}
|
||||
|
||||
EditPatientForm::~EditPatientForm()
|
||||
|
||||
Reference in New Issue
Block a user