We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expected: Not such a big crash, but more like a validation error. Or we should not allow deletion of "Edge" and "Node" layers from the database.
The text was updated successfully, but these errors were encountered:
Indeed, it shouldn't be possible to delete the Node and Edge layers.
In QGIS-Tim, I have two mandatory layers as well, they are always removed from the deletion selection:
# Collect the selected items selection = self.selectedItems() selection = [ item for item in selection if not isinstance(item.element, (Aquifer, Domain)) ]
This is currently silent though, you probably want a an info message that mentions that these layers cannot be deleted.
Sorry, something went wrong.
No branches or pull requests
Expected: Not such a big crash, but more like a validation error. Or we should not allow deletion of "Edge" and "Node" layers from the database.
The text was updated successfully, but these errors were encountered: