The sample files from Recordare contain a piece where the voice on the
upper staff of a PianoStaff starts with a grace displayed in the second
staff. So far, this put the whole voice on the second staff. Thus, grace
notes are now ignored when determining the voice for a staff.
Signed-off-by: Reinhold Kainhofer <reinhold@kainhofer.com>
and e.get_maybe_exist_typed_child (Staff)):
name = e.get_maybe_exist_typed_child (Staff).get_text ()
- if not self._start_staff:
+ if not self._start_staff and not e.get_maybe_exist_typed_child (Grace):
self._start_staff = name
self._staves[name] = True