I have QStyledDelegate which creates QComboBox editor in createEditor() method. The editor closes only when user chooses an item in the list and the presses Enter key. I want the editor to be closed only when user chooses the item. How to do this?
I've tried to use QComboBox's currentIndexChanged() signal, but it's emitted even when user just clicks the table cell to view the editor.