[[ Bug 12826 ]] Make sure the file view delegate is still created and set if there is only one type.
Merge branch 'bugfix-12826' into develop