Fix json isEmptyData flag bug.
This commit is contained in:
@@ -219,7 +219,7 @@ ScanFormWidget::ScanFormWidget(QWidget* parent) : TabFormWidget(parent) {
|
||||
patient_information->setPatientInformation((PatientInformation*)data);
|
||||
});
|
||||
connect(btnRefresh, &QToolButton::clicked, [=]() {
|
||||
QString patientInf(patient_information->getCurrentPatientJsonString(false));
|
||||
QString patientInf(patient_information->getCurrentPatientJsonString(true));
|
||||
LOG_USER_OPERATION(StartRefresh);
|
||||
EventCenter::Default()->triggerEvent(GUIEvents::RequestEmptyScan, nullptr, (QObject*)(&patientInf));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user