diff --git a/libmscore/score.cpp b/libmscore/score.cpp index 2c78586d77e2..f2805c91231b 100644 --- a/libmscore/score.cpp +++ b/libmscore/score.cpp @@ -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(); }