Make sure to not service a view event if the first responder is NULL

This commit is contained in:
smallmodel 2023-12-28 13:04:29 +01:00
parent 395c16ce24
commit d3a4407391
No known key found for this signature in database
GPG key ID: A96F163ED4891440

View file

@ -173,6 +173,9 @@ void UIWindowManager::ViewEvent
if (!view) {
// use the first responder instead
view = m_firstResponder;
if (!view) {
return;
}
}
if (!view->isEnabled()) {