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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user