On 2017-02-27 13:46, Richard Duivenvoorde wrote:
iface.mapCanvas().setCurrentLayer(l)

in a python plugin works (as calling 'currentLayer()' returns l as
active layer),
BUT the legend is showing that l is the currentLayer (it does not make
the background bleu)..

Sorry,

Should be: is NOT showing that l is now currentLayer...

The view is not updated.

Regards,

Richard
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to