feat: Supplement translations.
This commit is contained in:
@@ -166,12 +166,11 @@ void MainWindow::checkEmptyScanValidity()
|
||||
QDate currentDate = QDate::currentDate();
|
||||
if(lastScanDate.isNull() || currentDate.daysTo(expirationScanDate) < 0)
|
||||
{
|
||||
mTabWidget->setTabEnabled(0, false);
|
||||
mTabWidget->setTabEnabled(1, false);
|
||||
mTabWidget->setTabEnabled(2, false);
|
||||
mTabWidget->setCurrentIndex(3);
|
||||
|
||||
DialogManager::Default()->requestAlertMessage(tr("Please execute the empty scan, assist with system calibration, when empty scan is completed, the system should operate normally."), OkOnly, tr("Warning"));
|
||||
mTabWidget->setTabEnabled(2, false);
|
||||
mTabWidget->setTabEnabled(1, false);
|
||||
mTabWidget->setTabEnabled(0, false);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user