Skip to content

Commit 9f94c99

Browse files
authored
Fix variable name (#809)
1 parent d7667fe commit 9f94c99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/python/impactx/dashboard/Input/generalFunctions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,14 +346,14 @@ def reset_inputs(input_section):
346346
state.update(getattr(DashboardDefaults, input_section.upper()))
347347

348348
if input_section == "distribution_parameters":
349-
state.dirty("selected_distribution_type")
349+
state.dirty("distribution_type")
350350
elif input_section == "lattice_configuration":
351351
state.selected_lattice_list = []
352352
elif input_section == "space_charge":
353353
state.dirty("max_level")
354354

355355
elif input_section == "all":
356356
state.update(DashboardDefaults.DEFAULT_VALUES)
357-
state.dirty("selected_distribution_type")
357+
state.dirty("distribution_type")
358358
state.selected_lattice_list = []
359359
state.dirty("max_level")

0 commit comments

Comments
 (0)