danzig666 / qconsolidate3

Modified version of the QConsolidate/OQ-Consolidate plugin for QGIS 3+
GNU Affero General Public License v3.0
12 stars 4 forks source link

a couple of bug fixes #16

Closed eanema closed 6 months ago

eanema commented 6 months ago

fixes include: 1) if the current project has an associated filename, but has been removed from disk then the plugin will fail because it attempts to copy the file first. Solution is to check if the file exists on disk before attempting to copy it

2) if multiple layers have the same name then the each layer in the list will overwrite the previously written file. The solution is to make sure that each filename is unique (and valid) by appending _2, _3 etc. to previously used filenames