Repository: FreeCAD/FreeCAD
File: src/Mod/Sketcher/Gui/DrawSketchHandlerSymmetry.h (C/C++)

Code before:
        if (onlyeditoutline) {
            std::map<int, int> dummy1;
            std::map<int, bool> dummy2;
            std::vector<Part::Geometry*> symGeos
                = Obj->getSymmetric(listOfGeoIds, dummy1, dummy2, refGeoId, refPosId);

            for (auto* geo : symGeos) {
                ShapeGeometry.emplace_back(geo);
            }
        }
    }
};

template<>
void DSHSymmetryController::configureToolWidget()
{
    if (!init) {  // Code to be executed only upon initialisation
        toolWidget->setCheckboxLabel(
            WCheckbox::FirstBox,
            QApplication::translate("TaskSketcherTool_c1_symmetry", "Delete original geometries (U)")
        );
        toolWidget->setCheckboxToolTip(
            WCheckbox::FirstBox,
            QApplication::translate(
                "TaskSketcherTool_c1_symmetry",
                "Deletes the original geometry; this effectively performs a 'Move' operation."
            )
        );
        toolWidget->setCheckboxLabel(
            WCheckbox::SecondBox,
            QApplication::translate("TaskSketcherTool_c2_symmetry", "Create symmetry constraints (J)")
        );
        toolWidget->setCheckboxToolTip(
            WCheckbox::SecondBox,
            QApplication::translate(
                "TaskSketcherTool_c2_symmetry",
                "Create symmetry constraints between the original and mirrored geometries"
            )
        );
    }
}

template<>
void DSHSymmetryController::adaptDrawingToCheckboxChange(int checkboxindex, bool value)
{
    switch (checkboxindex) {
        case WCheckbox::FirstBox: {
            handler->deleteOriginal = value;
            if (value && toolWidget->getCheckboxChecked(WCheckbox::SecondBox)) {
                toolWidget->setCheckboxChecked(WCheckbox::SecondBox, false);
            }

Review comment (suggestion):
```suggestion
                "Deletes the original geometry. This effectively performs a 'Move' operation."

```

Code after:
        if (onlyeditoutline) {
            std::map<int, int> dummy1;
            std::map<int, bool> dummy2;
            std::vector<Part::Geometry*> symGeos
                = Obj->getSymmetric(listOfGeoIds, dummy1, dummy2, refGeoId, refPosId);

            for (auto* geo : symGeos) {
                ShapeGeometry.emplace_back(geo);
            }
        }
    }
};

template<>
void DSHSymmetryController::configureToolWidget()
{
    if (!init) {  // Code to be executed only upon initialisation
        toolWidget->setCheckboxLabel(
            WCheckbox::FirstBox,
            QApplication::translate("TaskSketcherTool_c1_symmetry", "Delete original geometries (U)")
        );
        toolWidget->setCheckboxToolTip(
            WCheckbox::FirstBox,
            QApplication::translate(
                "TaskSketcherTool_c1_symmetry",
                "Removes the original geometry and keeps only the mirrored result."

            )
        );
        toolWidget->setCheckboxLabel(
            WCheckbox::SecondBox,
            QApplication::translate("TaskSketcherTool_c2_symmetry", "Create symmetry constraints (J)")
        );
        toolWidget->setCheckboxToolTip(
            WCheckbox::SecondBox,
            QApplication::translate(
                "TaskSketcherTool_c2_symmetry",
                "Create symmetry constraints between the original and mirrored geometries"
            )
        );
    }
}

template<>
void DSHSymmetryController::adaptDrawingToCheckboxChange(int checkboxindex, bool value)
{
    switch (checkboxindex) {
        case WCheckbox::FirstBox: {
            handler->deleteOriginal = value;
            if (value && toolWidget->getCheckboxChecked(WCheckbox::SecondBox)) {
                toolWidget->setCheckboxChecked(WCheckbox::SecondBox, false);