26. Orders under Acts of 1976, 1989 and 1995.
(1) Where, while an order ("the first-mentioned order"), being -
(a) a maintenance order, an order varying a maintenance order, or an interim order under the Act of 1976,
(b) an order under section 14, 15, 16, 18 or 22 of the Act of 1989,
(c) an order under section 8, 9, 10, 11, 12, 13, 14, 15 or 18 of the Act of 1995,
is in force, an application is made to the court by a spouse to whom the first-mentioned order relates for an order granting a decree of divorce or an order under this Part, the court may by order discharge the first-mentioned order as on and from such date as may be specified in the order.
(2) Where, on the grant of a decree of divorce an order specified in subsection (1) is in force, it shall, unless it is discharged by an order under subsection (1), continue in force as if it were an order made under a corresponding provision of this Act and section 22 shall apply to it accordingly.