def combo_press(self, event): self.activate() return QComboBox.mousePressEvent(self.ui.comboBox, event)
def mousePressEvent(self, event): QComboBox.mousePressEvent(self, event) self.activated.connect(self.closeEvent)