[QGIS-Developer] triggerRepaint()
Luca Manganelli
luca.manganelli at comune.trento.it
Wed Mar 25 07:44:19 PDT 2020
Hello,
I discovered that triggerRepaint() is working on:
QgsMapCanvas.currentLayer()
but NOT in one of the layers in:
QgsProject.instance().layers()
I use triggerRepaint to force the update in the mapcanvas, after a Postgis
sql INSERT query.
Is there another way to do this?
--
Comune di Trento
via Belenzani, 19 - 38122 Trento | C.F e P. IVA:
00355870221
tel. +39 0461.884111 | www.comune.trento.it
<http://www.comune.trento.it>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20200325/12842e26/attachment.html>
More information about the QGIS-Developer
mailing list