[Qgis-developer] update layer list in python plugin

2013-04-24 Thread Otto Dassau
Hi, how is it possible to update the list of available layers in a python plugin automatically, when I add or remove layers from QGIS legend? To load the layers I use QgsMapLayerRegistry Regards Otto ___ Qgis-developer mailing list

Re: [Qgis-developer] update layer list in python plugin

2013-04-24 Thread Denis Rouzaud
Hi Otto, Not sure to understand what you mean. But, can't you update your list by connecting signals either from the layer regirstry, or the legend interface ? Denis On 04/24/2013 04:23 PM, Otto Dassau wrote: Hi, how is it possible to update the list of available layers in a python plugin