proximity: Add an assert message for a common model mistake.

Authored by lepagevalleeemmanuel on Jan 7 2019, 3:53 AM.

Description

proximity: Add an assert message for a common model mistake.

List models should always check parent in rowCount. If they
don't then the proximity state trackers assumes there is a valid
children, but index() will return an invalid item.

Details