Re: [Qgis-developer] Wierd issue with Python and triggerRepaint()

2015-01-25 Thread Gary Sherman
On 1/25/15 8:22 PM, Martin Dobias wrote: Hi Gary On Fri, Jan 23, 2015 at 5:52 AM, Gary Sherman gsher...@geoapt.com mailto:gsher...@geoapt.com wrote: I have a plugin that makes modifications to a memory layer, then calls triggerRepaint() to refresh. Unfortunately, it doesn't

[Qgis-developer] Wierd issue with Python and triggerRepaint()

2015-01-22 Thread Gary Sherman
I have a plugin that makes modifications to a memory layer, then calls triggerRepaint() to refresh. Unfortunately, it doesn't refresh the layer. If I open the Python console before making the mods, it works from the console: lyr = iface.activeLayer() lyr.triggerRepaint() If I turn off