Commit ccf4f155 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix logic

parent 9fb8e982
......@@ -320,7 +320,7 @@ void WebViewAccessKey::showAccessKeys()
}
}
d->mAccessKeyActivated = (d->mAccessKeyLabels.isEmpty() ? WebViewAccessKeyPrivate::Activated : WebViewAccessKeyPrivate::NotActivated);
d->mAccessKeyActivated = (!d->mAccessKeyLabels.isEmpty() ? WebViewAccessKeyPrivate::Activated : WebViewAccessKeyPrivate::NotActivated);
}
void WebViewAccessKey::makeAccessKeyLabel(QChar accessKey, const QWebElement &element)
......
Markdown is supported
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