fix: set empty string for "-new-" file configure option
otherwise the "-new-" option is not properly auto-selected
This commit is contained in:
parent
ca05e68890
commit
2e20fc5b75
|
@ -5441,7 +5441,7 @@ class MasterView(View):
|
||||||
for template in self.normalize_input_file_templates(
|
for template in self.normalize_input_file_templates(
|
||||||
include_file_options=True):
|
include_file_options=True):
|
||||||
settings[template['setting_mode']] = template['mode']
|
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']
|
settings[template['setting_url']] = template['url']
|
||||||
file_options[template['key']] = template['file_options']
|
file_options[template['key']] = template['file_options']
|
||||||
file_option_dirs[template['key']] = template['file_options_dir']
|
file_option_dirs[template['key']] = template['file_options_dir']
|
||||||
|
@ -5457,7 +5457,7 @@ class MasterView(View):
|
||||||
for template in self.normalize_output_file_templates(
|
for template in self.normalize_output_file_templates(
|
||||||
include_file_options=True):
|
include_file_options=True):
|
||||||
settings[template['setting_mode']] = template['mode']
|
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']
|
settings[template['setting_url']] = template['url']
|
||||||
file_options[template['key']] = template['file_options']
|
file_options[template['key']] = template['file_options']
|
||||||
file_option_dirs[template['key']] = template['file_options_dir']
|
file_option_dirs[template['key']] = template['file_options_dir']
|
||||||
|
|
Loading…
Reference in a new issue