ReverseEngineering: Issue #0004473: Expose openCommand() to translation

Continuing the work to expose the undo/redo functionality to translation. This commit does so for the ReverseEngineering Wb.  
Ticket: https://tracker.freecadweb.org/view.php?id=4473
This commit is contained in:
luz paz
2020-11-28 13:57:41 -05:00
committed by wwmayer
parent 74ab516494
commit 6715e62e37
4 changed files with 9 additions and 9 deletions

View File

@@ -231,7 +231,7 @@ void SegmentationManual::createSegment()
return;
// delete all selected faces
App::Document* adoc = gdoc->getDocument();
gdoc->openCommand("Segmentation");
gdoc->openCommand(QT_TRANSLATE_NOOP("Command", "Segmentation"));
std::vector<Mesh::Feature*> meshes = adoc->getObjectsOfType<Mesh::Feature>();
bool selected = false;