Fix crash on configure toolbars.

Fixes #414
1 job for master in 14 minutes and 2 seconds (queued for 1 second)