mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 05:24:44 +00:00
Closing a modified tab that is not in front shows it while the Save Changes dialog asks about it. After Save or Don't Save, the closed tab's neighbor became the current document instead of the document that was in front before the question. Closing a background tab with its close button, or `file.close` with its `index`, now remembers the uid of the document in front in the dialog's protected `__front` field, and once the asked document closes, that document is made current again while it is still open. The field survives a Save dialog shown off the UI thread. Cancel keeps the asked document in front, closing the document in front still brings its neighbor forward, and Close All and Quit are unchanged.