fix: Alert dialog render bug
This commit is contained in:
@@ -159,7 +159,7 @@ void SelectFormWidget::delPatient() {
|
||||
}
|
||||
// not the selected one, confirm!
|
||||
QString pat_name = mModel->index(mPatTable->currentIndex().row(), Name).data().toString();
|
||||
if (DialogManager::Default()->requestAlertMessage(QString(tr("Delete Patient \"%1\" ?")).arg(pat_name),DialogButtonMode::OkAndCancel,tr("Confirm")) != QDialog::Accepted) return;
|
||||
if (DialogManager::Default()->requestAlertMessage(QString(tr("Delete Patient \"%1\" ?")),pat_name,DialogButtonMode::OkAndCancel,tr("Confirm")) != QDialog::Accepted) return;
|
||||
// need delete clear edit panel detail
|
||||
patientDetailForm->clearPatientInformation();
|
||||
//mModel->setData(mModel->index(mPatTable->currentIndex().row(), Flag), 9);
|
||||
|
||||
Reference in New Issue
Block a user