Skip to content

Commit

Permalink
File: fix name change
Browse files Browse the repository at this point in the history
  • Loading branch information
PrimozGodec committed Nov 28, 2019
1 parent 074a238 commit 1204e92
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Orange/widgets/utils/domaineditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,7 @@ def numbers_are_round(var, col_data):
var = orig_var
elif tpe == type(orig_var):
# change the name so that all_vars will get the correct name
orig_var.name = name
var = orig_var
var = orig_var.copy(name=name)
elif tpe == DiscreteVariable:
values = list(str(i) for i in unique(col_data) if not self._is_missing(i))
round_numbers = numbers_are_round(orig_var, col_data)
Expand Down

0 comments on commit 1204e92

Please sign in to comment.