seanclaude / Redistricting

QGIS Plugin containing tools for electoral delimitation
GNU General Public License v2.0
3 stars 0 forks source link

AttributeError: 'QgsVectorLayer' object has no attribute 'setSelectedFeatures' #5

Closed seanclaude closed 1 year ago

seanclaude commented 1 year ago

Error thrown when attempting to write selected feature

redistricting_dock.py", line 839, in selection_update self.selection_clear() File "C:/Users/sean/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Redistricting\redistricting_dock.py", line 848, in selection_clear self.layer.setSelectedFeatures([]) AttributeError: 'QgsVectorLayer' object has no attribute 'setSelectedFeatures'