From 62087c25614b7f9bd89128b0dda43c8d9a2d92bd Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Sat, 12 Aug 2023 11:38:53 -0700 Subject: [PATCH] TD: Correct translation in TaskComplexSection --- src/Mod/TechDraw/Gui/TaskComplexSection.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Mod/TechDraw/Gui/TaskComplexSection.cpp b/src/Mod/TechDraw/Gui/TaskComplexSection.cpp index 2fc73b8519..3ff4541fb6 100644 --- a/src/Mod/TechDraw/Gui/TaskComplexSection.cpp +++ b/src/Mod/TechDraw/Gui/TaskComplexSection.cpp @@ -169,9 +169,7 @@ void TaskComplexSection::setUiPrimary() //don't allow updates until a direction is picked ui->pbUpdateNow->setEnabled(false); ui->cbLiveUpdate->setEnabled(false); - QString msgLiteral = - QString::fromUtf8(QT_TRANSLATE_NOOP("TaskComplexSection", "No direction set")); - ui->lPendingUpdates->setText(msgLiteral); + ui->lPendingUpdates->setText(tr("No direction set")); } void TaskComplexSection::setUiEdit()