I keep getting the following Python error message when I change the layer order AttributeError: 'QgsRasterLayer' object has no attribute 'selectedFeatureCount' It doesn't seem to hurt the project but it's very annoying. Any help is appreciated, Joe