[Qgis-developer] Undo/redo: Grouping actions across layers

Casper Børgesen (CABO) CABO at NIRAS.DK
Fri Oct 21 01:15:41 PDT 2016


Hi

I am looking at implementing undo functionality in my plugins but so far I have only found the option to use beginEditCommand for each layer.

If a user click a button in a plugin which introduce changes to several layers, is it then possible to do all the changes in one transaction so when the user undo's the click, all layers roll back the changes?


Regards, Casper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20161021/7065cdac/attachment.html>


More information about the Qgis-developer mailing list