mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-28 09:19:25 +01:00
The Print dialog's templates are listed in folders: User Templates, which always exists, and folders made with New Folder… (a button beside Save, or a folder's context menu). Each folder opens and closes. Save and Import… put a template in the folder chosen beside them, and a template dragged onto a folder, or moved with its Move to Folder menu, moves there with its name and settings unchanged. Rename Folder… and Delete Folder work on every folder but User Templates. Deleting a folder asks first and moves its templates to User Templates. New commands: print.template.move and print.template.folder.create, rename and delete. print.template.list gives the folders and each template's folder; print.template.save and print.template.import take an optional folder. A save over an existing name keeps its folder unless one is given. Folders, empty ones included, are kept in the library's prefs.json; templates saved before are in User Templates, and .lcprint files stay version 1 without the folder.