issue #0004188: Editing a subtractive box in PartDesign doesn't show the shaded box

This commit is contained in:
wmayer
2020-01-15 10:00:47 +01:00
parent bff7369e54
commit 25b3cfc170
3 changed files with 4 additions and 14 deletions

View File

@@ -690,8 +690,7 @@ TaskPrimitiveParameters::TaskPrimitiveParameters(ViewProviderPrimitive* Primitiv
}
};
parameter = new PartGui::TaskAttacher(PrimitiveView);
parameter->setCustomVisibilityAutomation(customvisfunc);
parameter = new PartGui::TaskAttacher(PrimitiveView, nullptr, QString(), tr("Attachment"), customvisfunc);
Content.push_back(parameter);
}