Bugfix: script error when sorting widgets
Merge pull request #1839 from reciprocity/feature/sort-widgets-script-error

Bugfix: script error when sorting widgets