Heading 1 and Heading 2 on same page

I create a Heading 1, then a Heading 2 right after.
Writer insists on putting Heading 2 on a new page, while leaving Heading 1 alone on the previous page.

How can I force Writer to put Heading 2 on the same page as Heading 1?
Standing on Header 2 and pressing backspace does not work.

Check the paragraph style properties of Heading 2. Press F11, right click Heading 2, select Modify, select the Text flow tab. Remove the check mark in Breaks type Page.

Thank you. That solved my problem.