TechDraw: Translate leader line arrow shapes

This commit is contained in:
Chris Hennes
2023-04-20 20:35:27 -05:00
committed by WandererFan
parent 04dce2546c
commit b40eae83f0
2 changed files with 11 additions and 10 deletions

View File

@@ -73,7 +73,7 @@ void DrawGuiUtil::loadArrowBox(QComboBox* qcb)
qcb->clear();
int i = 0;
for (; i < ArrowPropEnum::ArrowCount; i++) {
qcb->addItem(tr(ArrowPropEnum::ArrowTypeEnums[i]));
qcb->addItem(QCoreApplication::translate("ArrowPropEnum", ArrowPropEnum::ArrowTypeEnums[i]));
QIcon itemIcon(QString::fromUtf8(ArrowPropEnum::ArrowTypeIcons[i].c_str()));
qcb->setItemIcon(i, itemIcon);
}