Don't updateCell with invalid index
CCBUG: 505015
MouseTrackingInteraction remembers the lastFileNameUnderCursor in a static variable. If that thumbnail is no longer in the view, the index will be invalid.
There are several ways to hit this condition. The simplest:
- start the demo
- open the thumbnail view
- left click on a thumbnail and hit the delete key
- hit enter to delete the file
- move the mouse over other thumbnails