diff --git a/src/python/impactx/dashboard/Input/generalFunctions.py b/src/python/impactx/dashboard/Input/generalFunctions.py index 125b360c8..4daba9adc 100644 --- a/src/python/impactx/dashboard/Input/generalFunctions.py +++ b/src/python/impactx/dashboard/Input/generalFunctions.py @@ -346,7 +346,7 @@ def reset_inputs(input_section): state.update(getattr(DashboardDefaults, input_section.upper())) if input_section == "distribution_parameters": - state.dirty("selected_distribution_type") + state.dirty("distribution_type") elif input_section == "lattice_configuration": state.selected_lattice_list = [] elif input_section == "space_charge": @@ -354,6 +354,6 @@ def reset_inputs(input_section): elif input_section == "all": state.update(DashboardDefaults.DEFAULT_VALUES) - state.dirty("selected_distribution_type") + state.dirty("distribution_type") state.selected_lattice_list = [] state.dirty("max_level")