Merge branch '5381-fix_startup_crash' into 'master'

Add null check in duplicate widgets check

See merge request !93
1 job for master in 9 minutes and 30 seconds (queued for 1 second)