diff --git a/libmscore/edit.cpp b/libmscore/edit.cpp index 241c202fdbcd..c15e507fd6a9 100644 --- a/libmscore/edit.cpp +++ b/libmscore/edit.cpp @@ -1085,6 +1085,7 @@ void Score::deleteItem(Element* el) case Element::TEXTLINE_SEGMENT: case Element::VOLTA_SEGMENT: case Element::SLUR_SEGMENT: + case Element::PEDAL_SEGMENT: undoRemoveElement(static_cast(el)->spanner()); break; diff --git a/mscore/propertymenu.cpp b/mscore/propertymenu.cpp index ab738572b221..b0772269f370 100644 --- a/mscore/propertymenu.cpp +++ b/mscore/propertymenu.cpp @@ -234,7 +234,10 @@ void ScoreView::createElementPropertyMenu(Element* e, QMenu* popup) popup->addAction(tr("MIDI Properties..."))->setData("d-dynamics"); popup->addAction(tr("Text Properties..."))->setData("d-props"); } - else if (e->type() == Element::TEXTLINE_SEGMENT || e->type() == Element::OTTAVA_SEGMENT) { + else if (e->type() == Element::TEXTLINE_SEGMENT + || e->type() == Element::OTTAVA_SEGMENT + || e->type() == Element::VOLTA_SEGMENT + || e->type() == Element::PEDAL_SEGMENT) { if (e->visible()) popup->addAction(tr("Set Invisible"))->setData("invisible"); else