mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 09:26:43 +00:00
edit.assignProfile now has its own enabled check: disabled with no document and for Lab, Bitmap and Multichannel documents, so the menu item is greyed and a scripted run fails with "not available in <mode> mode". RGB, CMYK, Grayscale, Indexed and Duotone (not measured) keep today's behaviour, and Convert to Profile keeps has_doc, so it stays enabled for Lab. The convert_profile_options helper no longer assigns lab-d50 to its Lab document, which is now refused. Fixes #14238