musescore/MuseScore — pull request #594 by mgavioli (2013-12-17 02:10:34+00:00)
Title: Customized span for generated bar lines is not saved.

Some operations generate regular bar lines with the generated flag on. When the span of these bar lines is customized, the custom span is not saved.

Fix: bar lines with customized span are set as non-generated (in the undo flip() method). The generated flag is restored on undoing.