Commit f15fa4e1 authored by Dan Pascu's avatar Dan Pascu

Uncollapse contact groups as soon as contacts dropped elsewhere

parent 417c4497
......@@ -1162,6 +1162,13 @@ class ContactListView(QListView):
def _AH_ShareMyDesktop(self):
contact = self.model().data(self.selectionModel().selectedIndexes()[0])
def startDrag(self, supported_actions):
super(ContactListView, self).startDrag(supported_actions)
if self.needs_restore:
self.restore_timer.stop()
self._restore_groups()
self.needs_restore = False
def dragEnterEvent(self, event):
event_source = event.source()
accepted_mime_types = set(self.model().accepted_mime_types)
......
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