[widgets][scrollwidget] Fix clear implementation

The loop used to remove all widgets was wrongly implemented.

Fixes #231
4 jobs for 231_fix_editorlistwidget_cleanup in 33 minutes (queued for 5 seconds)