Closed rbeiko closed 11 years ago
I can do this. I was under the impression that vector files should be implemented in the same way as raster files. For raster files when we delete the map all data (locations, sequences, trees) is also deleted without any warning.
There is a warning that comes up when you try to delete the raster file:
(Warning) By removing the raster file all other layers will be removed. Are you sure you want to remove this layer?
Something similar for last vector would be good.
I added this warning in the case that some vector files are added on top of a raster file. My above comment was about the case that there is no vector file in the system (just a raster file and some other data).
When running a session with no raster, vector files can be added and deleted at will. However, deleting the only remaining vector file will also trigger the deletion of location and other data. This is fine, but the user should be warned that this is about to happen.