Skip to content

Commit

Permalink
fix #298779: fix invisible elements not getting displayed after turni…
Browse files Browse the repository at this point in the history
…ng "Show invisible" on
  • Loading branch information
dmitrio95 committed Aug 9, 2020
1 parent bd675e7 commit 3c38cb5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libmscore/score.cpp
Expand Up @@ -643,6 +643,10 @@ void Score::dragPosition(const QPointF& p, int* rst, Segment** seg, qreal spacin
void Score::setShowInvisible(bool v)
{
_showInvisible = v;
// BSP tree does not include elements which are not
// displayed, so we need to refresh it to get
// invisible elements displayed or properly hidden.
rebuildBspTree();
setUpdateAll();
}

Expand Down

0 comments on commit 3c38cb5

Please sign in to comment.