FIRE-20242: Crash trying to run a script

meow-7.2.2
Ansariel 2016-10-18 20:00:26 +02:00
parent a49f9841f2
commit f77c99c6ef
1 changed files with 4 additions and 5 deletions

View File

@ -995,15 +995,14 @@ void LLFloaterScriptQueue::objectScriptProcessingQueueCoro(std::string action, L
}
}
floater->addStringMessage("Done");
floater->getChildView("close")->setEnabled(TRUE);
}
catch (LLCheckedHandleBase::Stale &)
{
// <FS:Ansariel> Translation fixes
//floater->addStringMessage("Done");
floater->addStringMessage(floater->getString("Done"));
// </FS:Ansariel>
floater->getChildView("close")->setEnabled(TRUE);
}
catch (LLCheckedHandleBase::Stale &)
{
// processing was completed.
LL_DEBUGS("SCRIPTQ") << "LLExeceptionStaleHandle caught! Floater has most likely been closed." << LL_ENDL;
}