Ensure path is converted into tuple to allow comparison in check_recursion

issue6905
review35751002
This commit is contained in:
Cédric Krier committed 2017-11-09 19:01:33 +01:00
1 parent 7436b718fe
commit a644ada267
1 file changed
+1 -1
+1 -1
View File
@@ -830,7 +830,7 @@ class ViewTree(View):
return True
if drop_info:
path, position = drop_info
check_path = path
check_path = tuple(path)
if position in (gtk.TREE_VIEW_DROP_BEFORE,
gtk.TREE_VIEW_DROP_AFTER):
check_path = path[:-1]