Skip to content
This repository was archived by the owner on Mar 1, 2025. It is now read-only.

Commit e698c73

Browse files
committed
Part: Fix crash due to infinite recursion
1 parent aa228f2 commit e698c73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mod/Part/Gui/TaskAttacher.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ void TaskAttacher::addToReference(const std::vector<SubAndObjName>& pairs)
600600

601601
void TaskAttacher::addToReference(SubAndObjName pair)
602602
{
603-
addToReference({ pair });
603+
addToReference({{{ pair }}});
604604
}
605605

606606
void TaskAttacher::onAttachmentOffsetChanged(double /*val*/, int idx)

0 commit comments

Comments
 (0)