mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-22 18:34:42 +01:00
The dialog keeps the uid of the document it opened on in a field that ui.dialog.set cannot change. OK makes that document the active one before it sets the sets, so another document that became active while the dialog was open keeps its own sets, and New skips the names of the dialog's document's sets rather than the active document's. When the document was closed, OK closes the dialog and changes nothing.