Open nyalldawson opened 8 years ago
Actually - currentLayer() is used in other places in the API. "active" is very infrequently used, so I think it activeLayer() should be renamed to currentLayer()
+1 to "current" - it is more widely used term also in other parts of the API
+1 for currentLayer()
A little thing, but this has always bothered me. In iface we have QgisInterface::activeLayer(), but for QgsMapCanvas we have QgsMapCanvas::currentLayer().
I always get these the wrong way around and try to call activeLayer on the canvas or currentLayer on the interface.
One of these names should be changed so that they are both equal. I'd suggest activeLayer is the better one to standardise on.