mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-30 04:58:34 -06:00
The Update and Remove commands existed and were enabled only when the document had that kind of mark, but no menu listed them. A tool entry in the catalogue can now list further commands (ToolItem::actions); the tool panel shows a caret and opens a menu, each command enabled by its own needs. Add stays usable with no document open (it asks for a file first). Tests: the catalogue's menus name registered commands starting with the entry's own, and every edit.*.update / edit.*.remove is reachable from a tool entry.