musescore/MuseScore — pull request #331 by mgavioli (2013-05-04 22:00:30+00:00)
Title: Fix #20782 - Section break and measure renumbering

Fix #20782 - Adding or removing a section break (with a "Restart from meas. 1" default) does not immediately renumber measures.

Added calls to Score::renumberMeasures into relevant cases of MeasureBase::add() and MeasureBase::remove(). This also ensures that measures are renumbered when the property of the section break is changed.