diff --git a/GUI/View/SampleDesigner/ParticleCompositionForm.cpp b/GUI/View/SampleDesigner/ParticleCompositionForm.cpp index 40cbc9909b2248b3fd9a6b611be08b5e076fb52b..7a5c59d63fda450628b400e458a74817f4df6182 100644 --- a/GUI/View/SampleDesigner/ParticleCompositionForm.cpp +++ b/GUI/View/SampleDesigner/ParticleCompositionForm.cpp @@ -47,6 +47,10 @@ ParticleCompositionForm::ParticleCompositionForm(QWidget* parent, auto* collapser = GroupBoxCollapser::installIntoGroupBox(this); + auto* showInRealSpaceAction = ActionFactory::createShowInRealSpaceAction( + this, "particle composition", [=] { ec->requestViewInRealSpace(compositionItem); }); + collapser->addAction(showInRealSpaceAction); + if (allowRemove) { m_removeAction = ActionFactory::createRemoveAction( this, "particle composition", [=] { ec->removeParticle(compositionItem); });