#3868 Crash in updateHoveredState

according to bugsplat mWrapperPanel is null.
meow-7.2.2
Andrey Kleshchev 2025-04-03 20:27:28 +03:00 committed by Andrey Kleshchev
parent 6ebd8a9e82
commit f2e7e30cff
1 changed files with 8 additions and 0 deletions

View File

@ -436,6 +436,14 @@ void LLToast::setVisible(bool show)
void LLToast::updateHoveredState()
{
if (!mWrapperPanel)
{
// Shouldn't be happening.
// mWrapperPanel should have been inited in the constructor
// This needs to be figured out and fixed
llassert(false);
return;
}
S32 x, y;
LLUI::getInstance()->getMousePositionScreen(&x, &y);