Gui: Issue #0004473: Expose openCommand() to translation
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the src/Gui code. Ticket: https://tracker.freecadweb.org/view.php?id=4473
This commit is contained in:
@@ -996,7 +996,7 @@ void ManualAlignment::align()
|
||||
bool ok = computeAlignment(myAlignModel.activeGroup().getPoints(), myFixedGroup.getPoints());
|
||||
if (ok && myDocument) {
|
||||
// Align views
|
||||
myDocument->openCommand("Align");
|
||||
myDocument->openCommand(QT_TRANSLATE_NOOP("Command", "Align"));
|
||||
for (std::vector<App::DocumentObject*>::iterator it = pViews.begin(); it != pViews.end(); ++it)
|
||||
alignObject(*it);
|
||||
myDocument->commitCommand();
|
||||
|
||||
Reference in New Issue
Block a user