[TD] Fix redefine text in .ui (that has translation on crowdin) with English text without translation ability.

This will fix https://github.com/FreeCAD/FreeCAD-translations/issues/50
This commit is contained in:
Kuzemko Alexsandr
2022-05-30 16:53:06 +03:00
committed by Chris Hennes
parent 8edb3e64cc
commit 0b574523e9

View File

@@ -293,7 +293,7 @@ void TaskDetail::setUiFromFeat()
double scale = detailFeat->Scale.getValue();
QString ref = QString::fromUtf8(detailFeat->Reference.getValue());
ui->pbDragger->setText(QString::fromUtf8("Drag Highlight"));
ui->pbDragger->setText(tr("Drag Highlight"));
ui->pbDragger->setEnabled(true);
int decimals = Base::UnitsApi::getDecimals();
ui->qsbX->setUnit(Base::Unit::Length);