def mousePressEvent(self, event):
        self.clearSelection()
        QListView.mousePressEvent(self, event)
Trigger click() when an item is pressed.
dataset/ETHPy150Open ShadowKyogre/mikidown/mikidown/attachment.py/AttachmentView.mousePressEvent