<div></div>Hi all,<br>Is there a event beforeChangeCurrentLayer in qgis api? i'm using qgis 2.8.5 version.<br>I would like to trigger Toggle Editing (if current layer is in editing mode) before change current layer.<br><br>Another question:<br>How can I "customize" Add Feature QMapTool (subclassing)  to add custom behaviour for click mouse event (for example print the coordinate of the first point) and leave the base behaviour as it is?<br><br> <br><br>Thanks<br><br>Francesco