apol added a comment.
Wouldn't it make more sense to not accept the event then?
INLINE COMMENTS
> ComboBox.qml:79
> onPressed: {
> + if ((controlRoot.focusPolicy & Qt.ClickFocus) === Qt.ClickFocus)
> {
> + controlRoot.forceActiveFocus();
`if (controlRoot.focusPolicy & Qt.ClickFocus) {` should be enough.
REPOSITORY
R858 Qt Quick Controls 2: Desktop Style
REVISION DETAIL
https://phabricator.kde.org/D24879
To: broulik, #plasma
Cc: apol, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas,
GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed,
jensreuterberg, abetts, sebas, ahiemstra, mart