Fixed segfault for fileviewersettings if no file open