[i292] lock emiting signals while reading roleProperty from file (Closes #292)

Merging branch 'i292'  into 'main'.

See merge request !958
5 jobs for main in 5 minutes and 32 seconds (queued for 4 seconds)