From 1e91b9fb45a630567de044cc682a6a73e4351058 Mon Sep 17 00:00:00 2001 From: luz paz Date: Sat, 28 Nov 2020 13:59:12 -0500 Subject: [PATCH] Inspection: Issue #0004473: Expose openCommand() to translation Continuing the work to expose the undo/redo functionality to translation. This commit does so for the Inspection Wb. Ticket: https://tracker.freecadweb.org/view.php?id=4473 --- src/Mod/Inspection/Gui/VisualInspection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Inspection/Gui/VisualInspection.cpp b/src/Mod/Inspection/Gui/VisualInspection.cpp index 7f3249dfc6..310791fed9 100644 --- a/src/Mod/Inspection/Gui/VisualInspection.cpp +++ b/src/Mod/Inspection/Gui/VisualInspection.cpp @@ -228,7 +228,7 @@ void VisualInspection::accept() // open a new command Gui::Document* doc = Gui::Application::Instance->activeDocument(); - doc->openCommand("Visual Inspection"); + doc->openCommand(QT_TRANSLATE_NOOP("Command", "Visual Inspection")); // create a group Gui::Command::runCommand(