<p>Hi German, all,<br>
I m dealing with the same problem in my multiview plugin (<a href="http://hub.qgis.org/projects/multiview/repository/revisions/master/entry/temporalrasterloaderdialog.py">http://hub.qgis.org/projects/multiview/repository/revisions/master/entry/temporalrasterloaderdialog.py</a>) and i noticed that if i create a group and then load a layer the groups get created at the end of the list (look for the hack in the link). So maybe it is a different issue/bug. In general I feel that the legend interface could need some love... Unfortunately i ve no time right now.</p>

<p>Ciao<br>
Marco Bernasocchi (mobile)</p>
<p><blockquote type="cite">On 14 Mar 2011 15:38, &quot;Germán Carrillo&quot; &lt;<a href="mailto:carrillo.german@gmail.com">carrillo.german@gmail.com</a>&gt; wrote:<br><br>Hi QGIS-devs,<div><br></div><div>please also take into account this annoyance: </div>
<div><a href="https://trac.osgeo.org/qgis/ticket/3263" target="_blank">https://trac.osgeo.org/qgis/ticket/3263</a></div><div><br></div><div>Currently it is impossible to add groups from PyQGIS without nesting them. </div>


<div><br></div><div>Regards, </div><div><br></div><div>Germán<p><font color="#500050"><br><br>2011/3/14 Giovanni Manghi &lt;<a href="mailto:giovanni.manghi@gmail.com">giovanni.manghi@gmail.com</a>&gt;<br>&gt;<br>&gt;<br>
&gt; &gt; I&#39;m also proposing to delay the rele...</font></p>-- <br>-----------<br>  |\__  <br>(:&gt;__)(<br>  |/    <br><br>Soluciones Geoinformáticas Libres                            <br><a href="http://geotux.tuxfamily.org/" target="_blank">http://geotux.tuxfamily.org/</a><br>



</div>
<br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
<br></blockquote></p>