[Qgis-developer] iface.mapCanvas().setCurrentLayer does not update legend

Martin Dobias wonder.sk at gmail.com
Mon Feb 27 23:32:51 PST 2017


On Tue, Feb 28, 2017 at 3:20 PM, Richard Duivenvoorde
<rdmailings at duif.net> wrote:
> On 28-02-17 04:51, Martin Dobias wrote:
>>> And then there is also:
>>>
>>> iface.activeLayer() ?
>>>
>>> Is there a difference between active and currentlayer?
>>>
>>> If not, this is maybe a place to get a cleanup for 3.0?
>> It's the same thing and yes, it is a good candidate for renaming
>> (together with other occurrences of 'active' instead of 'current')
>
> Dev's what is the proper place nowadays, to write this down somewhere?
> An issue?
> Github wiki?

Actually this particular one is already in the 3.0 api wishlist:
https://github.com/qgis/qgis3.0_api/issues/14

Cheers
Martin


More information about the Qgis-developer mailing list