Skip to content

Commit

Permalink
fix #42416: Unable to select content of bars with drum notes after ac…
Browse files Browse the repository at this point in the history
…cessing Drumroll Editor
  • Loading branch information
lasconic committed Feb 18, 2015
1 parent ff962d5 commit 399ea1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mscore/drumroll.cpp
Expand Up @@ -281,15 +281,15 @@ void DrumrollEditor::selectionChanged()

void DrumrollEditor::changeSelection(SelState)
{
// gv->scene()->blockSignals(true);
gv->scene()->blockSignals(true);
gv->scene()->clearSelection();
QList<QGraphicsItem*> il = gv->scene()->items();
foreach(QGraphicsItem* item, il) {
Note* note = static_cast<Note*>(item->data(0).value<void*>());
if (note)
item->setSelected(note->selected());
}
// gv->scene()->blockSignals(false);
gv->scene()->blockSignals(false);
}

//---------------------------------------------------------
Expand Down

0 comments on commit 399ea1d

Please sign in to comment.