void InspectorClef::apply() { Clef* clef = static_cast<Clef*>(inspector->element()); Score* score = clef->score(); score->startCmd(); iElement->apply(); iSegment->apply(); score->setLayoutAll(true); score->endCmd(); mscore->endCmd(); }