Skip to content
Commit bda4e47a authored by Thomas Karpiniec's avatar Thomas Karpiniec Committed by Volker Krause
Browse files

Avoid spurious checkcombobox toggle where indexes don't match

When clicking on a KCheckComboBox that has an item already selected,
QComboBox will fire activated (via _q_editingFinished). When this
popup is opening for the first time the currentIndex of the combo
box is correct but the view's current index is still row 0. This
leads to spuriously toggling the first item in the list.

Since this activation from QComboBox happens programatically, care
must also be taken not to process this event for a disabled item.

BUG: 347045
parent 950d1d5b
Pipeline #437141 passed with stage
in 2 minutes and 8 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment