<div dir="ltr">I'm migrating a plugin to QGIS 3.x<div>I have this line of code that works in previous versions:<br>QgsProject.instance().snapSettingsChanged.emit()<br><br></div><div>But I cannot find this signal anymore in the new API.</div><div>I've been looking for another signal that does the same but didn't find.</div><div>Anyone can tell me how can I achieve the same with the new API?</div><div><br></div><div>Thanks</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Missatge de Laure-Hélène Bruneton <<a href="mailto:lbruneton@alcer.com">lbruneton@alcer.com</a>> del dia dj., 8 de febr. 2018 a les 13:22:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thank you so very much !!!<br>
<br>
QgsProject.instance().writeEntry('Digitizing', '/SnappingMode', 'advanced')<br>
QgsProject.instance().snapSettingsChanged.emit()<br>
<br>
This did the trick for me. I'm so surprised the answer wasn't easy to<br>
find...<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html</a><br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>