PartGui: fix error popup message
reported by kazan417 in crowdin https://crowdin.com/translate/freecad/563/en-hu#6500315
This commit is contained in:
committed by
Yorik van Havre
parent
083954a0e2
commit
5d5ac035f7
@@ -622,7 +622,7 @@ bool DlgExtrusion::validate()
|
||||
}
|
||||
if (this->getDirMode() == Part::Extrusion::dmEdge && !hasValidAxisLink){
|
||||
if (errmsg.length() > 0)
|
||||
QMessageBox::critical(this, windowTitle(), tr("Revolution axis link is invalid.\n\n%1").arg(errmsg));
|
||||
QMessageBox::critical(this, windowTitle(), tr("Extrusion direction link is invalid.\n\n%1").arg(errmsg));
|
||||
else
|
||||
QMessageBox::critical(this, windowTitle(), tr("Direction mode is to use an edge, but no edge is linked."));
|
||||
ui->txtLink->setFocus();
|
||||
|
||||
Reference in New Issue
Block a user