Skip to content

Commit

Permalink
Merge pull request #5493 from Git-Lior/bugfix-paste-stickings
Browse files Browse the repository at this point in the history
fix #297514: Cannot copy and paste stickings
  • Loading branch information
dmitrio95 committed Nov 25, 2019
2 parents 05eaa3f + d6a27f8 commit 1e22383
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions libmscore/chordrest.cpp
Expand Up @@ -535,6 +535,7 @@ Element* ChordRest::drop(EditData& data)
case ElementType::TEXT:
case ElementType::STAFF_TEXT:
case ElementType::SYSTEM_TEXT:
case ElementType::STICKING:
case ElementType::STAFF_STATE:
case ElementType::INSTRUMENT_CHANGE:
if (e->isInstrumentChange() && part()->instruments()->find(tick().ticks()) != part()->instruments()->end()) {
Expand Down
1 change: 1 addition & 0 deletions libmscore/note.cpp
Expand Up @@ -1629,6 +1629,7 @@ bool Note::acceptDrop(EditData& data) const
|| (type == ElementType::HAIRPIN)
|| (type == ElementType::STAFF_TEXT)
|| (type == ElementType::SYSTEM_TEXT)
|| (type == ElementType::STICKING)
|| (type == ElementType::TEMPO_TEXT)
|| (type == ElementType::BEND)
|| (type == ElementType::TREMOLOBAR)
Expand Down

0 comments on commit 1e22383

Please sign in to comment.