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:
@@ -99,7 +99,7 @@ void TransformStrategy::commitTransform(const Base::Matrix4D& mat)
|
||||
std::set<App::DocumentObject*> objects = transformObjects();
|
||||
Gui::Document* doc = Gui::Application::Instance->activeDocument();
|
||||
if (doc) {
|
||||
doc->openCommand("Transform");
|
||||
doc->openCommand(QT_TRANSLATE_NOOP("Command", "Transform"));
|
||||
for (std::set<App::DocumentObject*>::iterator it=objects.begin();it!=objects.end();++it) {
|
||||
acceptDataTransform(mat, *it);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user