We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a037918 commit 8c6c973Copy full SHA for 8c6c973
1 file changed
modules/ui_settings.py
@@ -86,7 +86,13 @@ def run_settings(self, *args):
86
opts.save(shared.config_filename)
87
except RuntimeError:
88
return opts.dumpjson(), f'{len(changed)} settings changed without save: {", ".join(changed)}.'
89
- return opts.dumpjson(), f'{len(changed)} settings changed{": " if changed else ""}{", ".join(changed)}.'
+
90
+ result_output = f'{len(changed)} settings changed:'
91
+ result_output += "".join(f"<br>{item}" for item in changed)
92
+ existing_result = self.result.value or ""
93
+ updated_result = f"{existing_result}<br>{result_output}" if existing_result else result_output
94
95
+ return opts.dumpjson(), updated_result
96
97
def run_settings_single(self, value, key):
98
if not opts.same_type(value, opts.data_labels[key].default):
0 commit comments