GTK3: placeview drag drop, avoid crash on drag of a place leave from treeview
svn: r20105
This commit is contained in:
@@ -463,6 +463,10 @@ class ListView(NavigationView):
|
||||
for handle in selected_ids],
|
||||
0)
|
||||
sel_data.set(self.drag_list_info().atom_drag_type, 8, pickle.dumps(data))
|
||||
else:
|
||||
# pass empty
|
||||
data = (self.drag_info().drag_type, id(self), [], 0)
|
||||
sel_data.set(self.drag_list_info().atom_drag_type, 8, pickle.dumps(data))
|
||||
|
||||
def set_column_order(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user