fix: set empty string for "-new-" file configure option

otherwise the "-new-" option is not properly auto-selected
This commit is contained in:
Lance Edgar 2024-08-27 13:50:30 -05:00
parent ca05e68890
commit 2e20fc5b75

View file

@ -5441,7 +5441,7 @@ class MasterView(View):
for template in self.normalize_input_file_templates(
include_file_options=True):
settings[template['setting_mode']] = template['mode']
settings[template['setting_file']] = template['file']
settings[template['setting_file']] = template['file'] or ''
settings[template['setting_url']] = template['url']
file_options[template['key']] = template['file_options']
file_option_dirs[template['key']] = template['file_options_dir']
@ -5457,7 +5457,7 @@ class MasterView(View):
for template in self.normalize_output_file_templates(
include_file_options=True):
settings[template['setting_mode']] = template['mode']
settings[template['setting_file']] = template['file']
settings[template['setting_file']] = template['file'] or ''
settings[template['setting_url']] = template['url']
file_options[template['key']] = template['file_options']
file_option_dirs[template['key']] = template['file_options_dir']