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

Fix drag and drop on a group.

See merge request !50
This commit is contained in:
Philipp Hörist 2017-02-04 17:32:58 +01:00
commit 7932cdf123
1 changed files with 1 additions and 1 deletions

View File

@ -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):