I just found another issue related to the feature count (in combination with expressions): https://hub.qgis.org/issues/14758
Maybe this feature needs some more love ... Best wishes, Anita On Mon, May 2, 2016 at 8:52 PM, Matthias Kuhn <[email protected]> wrote: > Hi Karolina, > > What do you change except for this? setSubsetString? > > I guess we could expect this to call layer.triggerRepaint() (no need for > mapCanvas.Refresh() AFAIK) and the update for the feature cout > automatically. It's probably a simple matter of connecting some slots. > So it could be considered an upstream issue. > > Matthias > > > On 05/02/2016 08:28 PM, Caroline Alexiou wrote: > > Hello Richard, > Yes feel free to add this to the issues. I do call > iface.mapCanvas().refresh() > and > layer.triggerRepaint() > > every time the time is refreshed, so if this doesn't refresh the feature > count, then that means refreshing the feature count needs another QGIS API > call. If anybody knows this off the top of their heads, please let me know. > > Bests, > Karolina > > > _______________________________________________ > Qgis-developer mailing [email protected] > List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer > > > -- > Matthias Kuhn > OPENGIS.ch - https://www.opengis.ch > Spatial • (Q)GIS • PostGIS • Open Source > > > _______________________________________________ > Qgis-developer mailing list > [email protected] > List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer >
_______________________________________________ Qgis-developer mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
