Skip to content

Commit

Permalink
Merge pull request #6407 from dmitrio95/298779-show-invisible
Browse files Browse the repository at this point in the history
fix #298779: fix invisible elements not getting displayed after turning "Show invisible" on
  • Loading branch information
anatoly-os committed Sep 1, 2020
2 parents 08f9dcf + 3c38cb5 commit ef7391f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libmscore/score.cpp
Original file line number Diff line number Diff line change
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 ef7391f

Please sign in to comment.