Empty scan comfirm and Drainage disable logic
This commit is contained in:
@@ -26,6 +26,10 @@ AlertDialog::AlertDialog(QWidget *parent, Qt::WindowFlags f)
|
||||
|
||||
void AlertDialog::setAlertMessage(const QString &msg) {
|
||||
mLblMsg->setText(msg);
|
||||
if (msg.length()>28)
|
||||
{
|
||||
mLblMsg->setWordWrap(true);
|
||||
}
|
||||
}
|
||||
|
||||
void AlertDialog::setTitle(const QString &msg) {
|
||||
|
||||
Reference in New Issue
Block a user