mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-25 18:47:42 -06:00
Import a photo, delete it, import the same file again: the import skipped it as a duplicate "already in the library" while the grid showed it in Recently Deleted, and the user was stuck (issues #298, #706). The default for a file whose photo is in Recently Deleted is now to restore the photo, with its edits, rating and albums (`onDeleted: restore`; `skip` keeps the old behaviour, `fresh` imports a clean copy). A photo matched by content whose file is gone is relinked to the imported file. The import review checks such files, badges them "Will be restored", counts them as "in Recently Deleted" and starts its choice on Restore them; dropped files say "Restored 1 photo from Recently Deleted". Browsing a folder in Local, Auto Import and a Lightroom catalog import keep skipping: only an import the user asked for brings a photo back.