From 3fa216a1494b8fd4a3b18e43c74bddaf6ae9311d Mon Sep 17 00:00:00 2001 From: Ivan Holmes Date: Mon, 11 Nov 2019 21:11:56 +0000 Subject: [PATCH] update heading style to make sure it's attached to the chord progressions/charts etc --- chordsheet/rlStylesheet.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chordsheet/rlStylesheet.py b/chordsheet/rlStylesheet.py index 44cc1b7..95eb3e6 100644 --- a/chordsheet/rlStylesheet.py +++ b/chordsheet/rlStylesheet.py @@ -44,7 +44,8 @@ def getStyleSheet(csStyle): fontSize=csStyle.headingFontSize, alignment=TA_LEFT, parent=stylesheet['Master'], - spaceAfter=2*mm) + spaceAfter=2*mm, + keepWithNext=1) ) return stylesheet \ No newline at end of file