Commit 7932cdf1 authored by Philipp Hörist's avatar Philipp Hörist

Merge branch 'drag-and-drop-on-group' into 'master'

Fix drag and drop on a group.

See merge request !50
parents 92f52bbc 89f861c8
......@@ -4536,7 +4536,7 @@ class RosterWindow:
self.remove_contact_from_groups(c_source.jid, account,
[grp_source])
if context.get_action() in (Gdk.DragAction.MOVE, Gdk.DragAction.COPY):
if context.get_actions() in (Gdk.DragAction.MOVE, Gdk.DragAction.COPY):
context.finish(True, True, etime)
def drag_drop(self, treeview, context, x, y, timestamp):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment