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
Author Name: Akbar Gumbira (Akbar Gumbira) Original Redmine Issue: 11703 Affected QGIS version: 2.6.0
Assignee: Martin Dobias
Hi, I know that this isn't the expected scenario. But if we feed QgsLayerTreeGroup with invalid layer, e.g just give it None, it will crash QGIS.
Simple script that can be run in QGIS Python Console :
a = QgsLayerTreeGroup() a.addLayer(None)
I think throwing Exception is better than not handling it at all
The text was updated successfully, but these errors were encountered:
Author Name: Tim Sutton (Tim Sutton)
Sorry, something went wrong.
Author Name: Martin Dobias (@wonder-sk)
Fixed in changeset "f28a6d1d7d426286f67b94b094a6653aec69f0a3".
No branches or pull requests
Author Name: Akbar Gumbira (Akbar Gumbira)
Original Redmine Issue: 11703
Affected QGIS version: 2.6.0
Assignee: Martin Dobias
Hi, I know that this isn't the expected scenario. But if we feed QgsLayerTreeGroup with invalid layer, e.g just give it None, it will crash QGIS.
Simple script that can be run in QGIS Python Console :
I think throwing Exception is better than not handling it at all
The text was updated successfully, but these errors were encountered: