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:
@@ -265,7 +265,7 @@ int PointMarker::countPoints() const
|
||||
void PointMarker::customEvent(QEvent*)
|
||||
{
|
||||
Gui::Document* doc = Gui::Application::Instance->activeDocument();
|
||||
doc->openCommand("Measure distance");
|
||||
doc->openCommand(QT_TRANSLATE_NOOP("Command", "Measure distance"));
|
||||
App::DocumentObject* obj = doc->getDocument()->addObject
|
||||
(App::MeasureDistance::getClassTypeId().getName(),"Distance");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user