Database:
in the Import file chooser, there can be a crash when selecting a file which have been copied earlier and the copy have then been removed from database.
The entry in the meta_data table was still existing and was used to recover an imgid and tried to find a path even if the file was deleted.
To fix this, when removing an image, now it deletes the image's entry in meta_data table too.
Import preview:
The function to refresh preview now uses the list of selected file instead of the selected file from file chooser, to find if a file is in the library by metadata.
Database: in the Import file chooser, there can be a crash when selecting a file which have been copied earlier and the copy have then been removed from database. The entry in the
meta_data
table was still existing and was used to recover animgid
and tried to find a path even if the file was deleted. To fix this, when removing an image, now it deletes the image's entry inmeta_data
table too.Import preview: The function to refresh preview now uses the list of selected file instead of the selected file from file chooser, to find if a file is in the library by metadata.