I've made my custom widget which implements the drag events, a model which implements a mimedata and flags, and my own sorting model.

What I'm trying to do is to drag and item from the widget I've specified it details before to another widget.

The problem is that it's working ok, but suddenly,dragging items is not working. and if i resorted the item in the widget. every thing works fine. Also, if i worked without this sorting model every thing works fine.

So, any body got any idea what might have gone wrong ?!