Repeat signs deleting each other

Hello I am new to Dorico and am loving the program so far but have run into a strange issue. When trying to put a double bar line in measure 24 the repeat bar line is then replaced in measure 25. If I try to put the double bar line first and then the repeat after, the same issue arises.

I am sure this is a simple fix but I cannot figure it out.

Any help is welcome, thanks.

Welcome to the forum, Fixated.

In Dorico this is an option rather than something you have to do each time you place a repeat. Go to Engraving Options (Cmd/Ctrl-Shift-E) > Barlines > Repeats and set this:

Apply and Close.

Thanks a lot! It worked.