Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 24, 2024
1 parent 1262248 commit 4b8c65c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Mod/Sketcher/Gui/DrawSketchHandlerCarbonCopy.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ class DrawSketchHandlerCarbonCopy: public DrawSketchHandler

static const char* sketchArchType = "Sketcher::SketchObjectPython";

if (obj->is<Sketcher::SketchObject>() || strcmp(obj->getTypeId().getName(), sketchArchType) == 0) {
if (obj->is<Sketcher::SketchObject>()
|| strcmp(obj->getTypeId().getName(), sketchArchType) == 0) {

try {
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Create a carbon copy"));
Expand Down

0 comments on commit 4b8c65c

Please sign in to comment.