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:
@@ -2717,7 +2717,7 @@ void ViewProviderLink::dragStartCallback(void *data, SoDragger *) {
|
||||
me->dragCtx->initialPlacement = me->currentDraggingPlacement();
|
||||
if(!me->callDraggerProxy("onDragStart",false)) {
|
||||
me->dragCtx->cmdPending = true;
|
||||
me->getDocument()->openCommand("Link Transform");
|
||||
me->getDocument()->openCommand(QT_TRANSLATE_NOOP("Command", "Link Transform"));
|
||||
}else
|
||||
me->dragCtx->cmdPending = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user