Skip to content

Commit

Permalink
cast range to proper type
Browse files Browse the repository at this point in the history
required by Qt6
fix PARTSEG-WG
  • Loading branch information
Czaki committed Sep 3, 2024
1 parent 0e8c18e commit d090b8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/PartSegCore/algorithm_describe_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def __init__(
else:
self.value_type = type(default_value)
self.default_value = default_value
self.range = options_range
self.range = tuple(self.value_type(x) for x in options_range) if options_range is not None else None
self.possible_values = possible_values
self.help_text = help_text
self.per_dimension = per_dimension
Expand Down

0 comments on commit d090b8b

Please sign in to comment.