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

Continuing the work to expose the undo/redo functionality to translation. This commit does so for the Mesh Wb.  
Ticket: https://tracker.freecadweb.org/view.php?id=4473
This commit is contained in:
luz paz
2020-11-28 11:46:35 -05:00
committed by wwmayer
parent 04f85c56fe
commit 7dd0601f82
6 changed files with 35 additions and 35 deletions

View File

@@ -127,7 +127,7 @@ void RemoveComponents::deleteSelection()
Gui::Document* doc = Gui::Application::Instance->activeDocument();
if (!doc) return;
// delete all selected faces
doc->openCommand("Delete selection");
doc->openCommand(QT_TRANSLATE_NOOP("Command", "Delete selection"));
bool ok = meshSel.deleteSelection();
if (!ok)
doc->abortCommand();