Skip to content

Commit

Permalink
Adjust finger toolselection logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jpirnay committed Oct 23, 2024
1 parent 0100aa4 commit c233361
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion meerk40t/gui/wxmmain.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c233361

Please sign in to comment.