feat: Change confirm dialog titile.
This commit is contained in:
@@ -222,7 +222,7 @@ void SelectFormWidget::delPatient() {
|
||||
QString pUid = mLocalPatientModel->index(mLocalPatTable->currentIndex().row(), PatientUID).data().toString();
|
||||
// patient has been selected as the scan patient!
|
||||
if (mSelectedPatientUID == pUid){
|
||||
DialogManager::Default()->requestAlertMessage(tr("Can't delete selected Patient !"),DialogButtonMode::OkOnly,tr("Alert"));
|
||||
DialogManager::Default()->requestAlertMessage(tr("Can't delete selected Patient !"),DialogButtonMode::OkOnly,tr("Warning"));
|
||||
return;
|
||||
}
|
||||
// not the selected one, confirm!
|
||||
@@ -243,7 +243,7 @@ void SelectFormWidget::delPatient() {
|
||||
}
|
||||
} else {
|
||||
//TODO:error handle
|
||||
DialogManager::Default()->requestAlertMessage(tr("Can't delete selected Patient , db submit error!"),DialogButtonMode::OkOnly,tr("Alert"));
|
||||
DialogManager::Default()->requestAlertMessage(tr("Can't delete selected Patient , db submit error!"),DialogButtonMode::OkOnly,tr("Warning"));
|
||||
}
|
||||
prepareButtons(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user