[Qgis-developer] how to toggle layer in legend with Python?
Etienne Tourigny
etourigny.dev at gmail.com
Wed Nov 7 07:35:41 PST 2012
The only problem is that it is not highlighted (I think). If it's the
case, please file a bug report
On Wed, Nov 7, 2012 at 10:57 AM, G. Allegri <giohappy at gmail.com> wrote:
> Bear with me, QgsMapCanvas.setCurrentLayer() was enough :)
>
> giovanni
>
> 2012/11/7 G. Allegri <giohappy at gmail.com>
>
>> AFAICS there's no method to toggle a layer in legend through the legend
>> interface (at leat in 1.8 API)
>> Is there some way to do it?
>>
>> thanks,
>> giovanni
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
More information about the Qgis-developer
mailing list