mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-28 09:21:55 +01:00
Paragraph Style Options previewed and committed paraStyle.edit in whichever document was active, so switching documents moved the preview and OK into the other document, and Cancel could roll back another document's gesture. The dialog now records the document it opened on and runs the frame work of Character Style Options (#9510), moved into a shared pump_in_opening_document helper: Preview and OK act only in the opening document, OK is refused while another document is active, after the opening document closes or while another edit is active in it, and Cancel rolls back only the dialog's own preview.