fix shadows name 'k' from outer scope

while syntactically correct this triggers a false Unresolved reference 'k' error in PyCharms
This commit is contained in:
w-e-w 2024-12-27 22:10:13 +09:00
parent fc54833505
commit dc34c0041c

View File

@ -335,7 +335,7 @@ class UiSettings:
for method in methods:
method(
fn=lambda value, k=k: self.run_settings_single(value, key=k),
fn=lambda value, key=k: self.run_settings_single(value, key=key),
inputs=[component],
outputs=[component, self.text_settings],
show_progress=info.refresh is not None,