Skip to content
Permalink
Browse files

fix #292087: handle sticking in undoAddElement and cmdFlip

  • Loading branch information...
dmitrio95 committed Jul 13, 2019
1 parent 6974f0c commit cc654b11fc323cfbf3a7a8a50542892e87a25365
Showing with 4 additions and 0 deletions.
  1. +4 −0 libmscore/edit.cpp
@@ -1477,6 +1477,7 @@ void Score::cmdFlip()
|| e->isJump()
|| e->isMarker()
|| e->isStaffText()
|| e->isSticking()
|| e->isFingering()
|| e->isDynamic()
|| e->isHarmony()
@@ -4262,6 +4263,7 @@ void Score::undoAddElement(Element* element)
&& et != ElementType::DYNAMIC
&& et != ElementType::STAFF_TEXT
&& et != ElementType::SYSTEM_TEXT
&& et != ElementType::STICKING
&& et != ElementType::TREMOLO
&& et != ElementType::ARPEGGIO
&& et != ElementType::SYMBOL
@@ -4293,6 +4295,7 @@ void Score::undoAddElement(Element* element)
|| element->isTremoloBar()
|| element->isDynamic()
|| element->isStaffText()
|| element->isSticking()
|| element->isFretDiagram()
|| element->isHarmony()
|| element->isHairpin()
@@ -4405,6 +4408,7 @@ void Score::undoAddElement(Element* element)
|| element->isTremoloBar()
|| element->isDynamic()
|| element->isStaffText()
|| element->isSticking()
|| element->isFretDiagram()
|| element->isFermata()
|| element->isHarmony()) {

0 comments on commit cc654b1

Please sign in to comment.
You can’t perform that action at this time.