We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 074a238 commit 1204e92Copy full SHA for 1204e92
Orange/widgets/utils/domaineditor.py
@@ -300,8 +300,7 @@ def numbers_are_round(var, col_data):
300
var = orig_var
301
elif tpe == type(orig_var):
302
# change the name so that all_vars will get the correct name
303
- orig_var.name = name
304
- var = orig_var
+ var = orig_var.copy(name=name)
305
elif tpe == DiscreteVariable:
306
values = list(str(i) for i in unique(col_data) if not self._is_missing(i))
307
round_numbers = numbers_are_round(orig_var, col_data)
0 commit comments