X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fsystem.cc;fp=lily%2Fsystem.cc;h=ef0e0679ab54e34a66245bf00ecb74bd48d69179;hb=291f1d623e2ceb9916532622ba02b02807c4b22d;hp=e700615523045a4882030f00cf08e8bf73e56d45;hpb=0fb197ec6a219380241f620443292a7eeb2ffb99;p=lilypond.git diff --git a/lily/system.cc b/lily/system.cc index e700615523..ef0e0679ab 100644 --- a/lily/system.cc +++ b/lily/system.cc @@ -227,11 +227,17 @@ System::break_into_pieces (vector const &breaking) system->set_bound (LEFT, c[0]); system->set_bound (RIGHT, c.back ()); + SCM system_labels = SCM_EOL; for (vsize j = 0; j < c.size (); j++) { c[j]->translate_axis (breaking[i].config_[j], X_AXIS); dynamic_cast (c[j])->system_ = system; + /* collect the column labels */ + SCM col_labels = c[j]->get_property ("labels"); + if (scm_is_pair (col_labels)) + system_labels = scm_append (scm_list_2 (col_labels, system_labels)); } + system->set_property ("labels", system_labels); set_loose_columns (system, &breaking[i]); broken_intos_.push_back (system);