]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/clef-engraver.cc
* input/regression/accidental-clef-change.ly: new file.
[lilypond.git] / lily / clef-engraver.cc
index b7e1ff2124f55ae83ff1eab792f05d76b88f7b51..c45c4b6dc3623d7157e41de0a3fed7ee9efc4e18 100644 (file)
@@ -144,6 +144,10 @@ Clef_engraver::inspect_clef_properties ()
       || scm_equal_p (octavation, prev_octavation_) == SCM_BOOL_F
       || to_boolean (force_clef))
     {
+      set_context_property_on_children (context (),
+                                       ly_symbol2scm ("localKeySignature"),
+                                       get_property ("keySignature"));
+      
       set_glyph ();
       if (prev_cpos_ != SCM_BOOL_F || to_boolean (get_property ("firstClef")))
        create_clef ();