Hi Luca, maybe you should post your question to developer list.<br><br><span style="color: rgb(51, 51, 51);">Germán.</span><br><br><div class="gmail_quote">2009/12/7 <span dir="ltr"><<a href="mailto:luca_manganelli@comune.trento.it">luca_manganelli@comune.trento.it</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi,<br>
<br>
I am writing a plugin that does some editing operations giving the<br>
possibility to undo operations.<br>
But the UNDO operation is enabled only if the active layer in the legend is<br>
equal to edited layer.<br>
<br>
We have the:<br>
<br>
qgsinterface::activeLayer () but no qgisinterface::setActiveLayer ().<br>
<br>
And the :<br>
<br>
qgsmapcanvas::setCurrentLayer (....) (then qgsmapcanvas::refresh ( ) )<br>
doesn't resolve the problem.<br>
<br>
Any hint?<br>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div><br>-- <br>-----------<br> |\__ <br>(:>__)(<br> |/ <br><br>Soluciones Geoinformáticas Libres <br><a href="http://geotux.tuxfamily.org/">http://geotux.tuxfamily.org/</a><br>