Patch #1552984 by Niklas Fiekas: Added Make 'File displayed by default' depend on 'Enable display field' with #states.