diff options
Diffstat (limited to 'src/dataforms_widget.py')
-rw-r--r-- | src/dataforms_widget.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dataforms_widget.py b/src/dataforms_widget.py index e69ad7222..cddd0e583 100644 --- a/src/dataforms_widget.py +++ b/src/dataforms_widget.py @@ -570,9 +570,9 @@ class SingleForm(gtk.Table, object): model = treeview.get_model() deleted = [] - def remove(model, path, iter, deleted): - deleted+=model[iter] - model.remove(iter) + def remove(model, path, iter_, deleted): + deleted+=model[iter_] + model.remove(iter_) selection.selected_foreach(remove, deleted) field.values = (v for v in field.values if v not in deleted) |