Fixed crash (NULL pointer access) in RsGUIEventManager::async_handleIncomingEvent with activated plugins

This commit is contained in:
thunder2 2025-11-30 20:24:10 +01:00
parent 01cdbe68d9
commit 573b46b19d

View file

@ -398,7 +398,10 @@ void RsGUIEventManager::async_handleIncomingEvent(std::shared_ptr<const RsEvent>
if (rsPlugin) {
ToasterNotify *toasterNotify = rsPlugin->qt_toasterNotify();
if (toasterNotify) {
insertToaster(toasterNotify->toasterItem());
ToasterItem *toasterItem = toasterNotify->toasterItem();
if (toasterItem) {
insertToaster(toasterItem);
}
continue;
}
}