Ensure path is converted into tuple to allow comparison in check_recursion
issue6905 review35751002
This commit is contained in:
1 parent
7436b718fe
commit
a644ada267
1 file changed
+1
-1
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user