fix win combobox

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2024-05-29 01:03:17 +03:00
parent f332503088
commit b256d325f7
No known key found for this signature in database
GPG Key ID: 55EF5DA53DB36318

View File

@ -133,12 +133,12 @@ bool CheckComboBox::eventFilter(QObject* receiver, QEvent* event)
QComboBox::hidePopup();
return (keyEvent->key() != Qt::Key_Escape);
}
break;
}
case QEvent::MouseButtonPress:
containerMousePress = (receiver == view()->window());
break;
/* fallthrough */
case QEvent::MouseButtonRelease:
containerMousePress = false;
containerMousePress = (receiver == view()->window());
break;
case QEvent::Wheel:
return receiver == this;