+1 for this

I was unaware of the reason for the crashes on Undo I was seeing until this 
thread. Our approach in Telemetry Layer was to simply end the edit session and 
commit the changes programmatically denying the possibility of a user undo.  A 
more elegant approach would be welcomed.

On 17/03/2015, at 9:47 am, Matthias Kuhn <matth...@opengis.ch> wrote:

> 
> 
> On 03/16/2015 09:32 PM, Luigi Pirelli wrote:
>> I used a different approach attaching to end Editing action to do a
>> similar work.
>> The logic is, start editing, do modification, stop editing is
>> intercepted to save EditingBuffer and then roolback all modification.
>> Then process editing buffer to create values basing on a rule and them
>> I can add/change the modified records with a new editing session
>> without user interaction.
>> 
>> 
> It would be so nice to be able to be able to register a trigger that is
> executed to do this kind of things and data validation directly before
> it enters the edit buffer.
> 
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to