Reimplement Qt method.

def mouseReleaseEvent(self, event):
        """Reimplement Qt method."""
        QTreeView.mouseReleaseEvent(self, event)
        if self.single_click_to_open:
            self.clicked()