I have a list where a user can select an item. The selection runs necessary procedure.
self.listWidget_ITEMS.itemClicked.connect(self.refresh)
def refresh(self, item):
print 'refresh.item = {}'.format(item)
The problem is: if a user clicks an item, then drag the mouse and only then release, then refresh function catch the clicked item, but not selected (item, where the mouse was released). If there a way to catch selected item?