Skip to content

Commit

Permalink
Fix drop from palette to multimeasure rest
Browse files Browse the repository at this point in the history
  • Loading branch information
mathesoncalum committed Sep 19, 2024
1 parent a2a34dc commit 51b0825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/notation/internal/notationinteraction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1530,7 +1530,7 @@ bool NotationInteraction::drop(const PointF& pos, Qt::KeyboardModifiers modifier
//! NOTE: Helper method for NotationInteraction::drop. Handles drop logic for majority of elements (returns "accepted")
bool NotationInteraction::doDropStandard()
{
EngravingItem* el = dropTarget(m_dropData.ed);
EngravingItem* el = m_dropData.dropTarget ? m_dropData.dropTarget : dropTarget(m_dropData.ed);
if (!el) {
if (!dropCanvas(m_dropData.ed.dropElement)) {
LOGD("cannot drop %s(%p) to canvas", m_dropData.ed.dropElement->typeName(), m_dropData.ed.dropElement);
Expand Down

0 comments on commit 51b0825

Please sign in to comment.