Fix pending reply sizing

This commit is contained in:
Nicolas Werner 2023-11-01 22:28:58 +01:00
parent bd1cadb6bb
commit 457f42c9ca
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
4 changed files with 23 additions and 6 deletions

View file

@ -142,7 +142,7 @@ EventDelegateChooser::DelegateIncubator::setInitialState(QObject *obj)
auto attached = qobject_cast<EventDelegateChooserAttachedType *>(
qmlAttachedPropertiesObject<EventDelegateChooser>(obj));
Q_ASSERT(attached != nullptr);
attached->setIsReply(this->forReply);
attached->setIsReply(this->forReply || chooser.limitAsReply_);
for (const auto &role : roles) {
const auto &roleName = roleNames[role.role()];