[[ Bug 12910 ]] Script editor crashes
Merge pull request #928 from runrevsebastien/bugfix-12910

[[ Bug 12910 ]] Script editor crashes