Fix missing string argument.

This commit is contained in:
Roman Telezhynskyi 2023-01-15 17:57:33 +02:00
parent e896617c92
commit 649113da92

View File

@ -271,7 +271,7 @@ qreal VPieceNode::GetSAAfter(const VContainer *data, Unit unit) const
catch (const VExceptionBadId &)
{}
const QString errorMsg = QObject::tr("Cannot calculate seam allowance after for point '%1'. Reason: ")
const QString errorMsg = QObject::tr("Cannot calculate seam allowance after for point '%1'. Reason: %2.")
.arg(nodeName, formula.Reason());
VAbstractApplication::VApp()->IsPedantic() ? throw VException(errorMsg) :
qWarning() << VAbstractValApplication::warningMessageSignature + errorMsg;