diff --git a/meerk40t/gui/wxmmain.py b/meerk40t/gui/wxmmain.py index b328391b7d..32c7b6ac23 100644 --- a/meerk40t/gui/wxmmain.py +++ b/meerk40t/gui/wxmmain.py @@ -1655,8 +1655,9 @@ def coolant_off(*args): register_effects() def contains_a_param(): + from meerk40t.core.elements.element_types import effect_nodes, elem_nodes result = False - for e in kernel.elements.elems(emphasized=True): + for e in kernel.elements.flat(types=elem_nodes + effect_nodes, emphasized=True): if ( hasattr(e, "functional_parameter") and e.functional_parameter is not None