[Qgis-developer] Need help with LayerTreeModel (legend node)

Martin Dobias wonder.sk at gmail.com
Sun Dec 21 05:46:01 PST 2014


On Fri, Dec 19, 2014 at 10:58 PM, Sandro Santilli <strk at keybit.net> wrote:
>
>
> Confirmed. I've added a QTreeView and it has the same issue.
> Unfortunately, the model tester did not catch any issue, beside the
> already-reported one which I fixed in master already.
>

AFAIK model tester is not meant to discover this kind of issues. It is
mainly used to confirm that model implements the virtual methods like
index(), parent() according to the expectations of views. Your problem just
seems to be related to a missing dataChanged() signal when there should be
one...

Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20141221/09556b7a/attachment.html>


More information about the Qgis-developer mailing list