Skip to content
Snippets Groups Projects
Commit 252a3f89 authored by David Faure's avatar David Faure
Browse files

Fix wrong code in list/table model templates


rowCount should return 0 if the parent *is* valid, and return
the actual number of rows when queried with an invalid index.

Change-Id: I00e3d4ea79e1aaf0be1974da876c5a871d3924e6
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@qt.io>
parent 7f07ec41
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment