Fix Region Restart floater not showing Region name

This commit is contained in:
Lirusaito
2019-03-16 20:32:23 -04:00
parent 7991a53f3b
commit 769c6a2e03

View File

@@ -100,12 +100,12 @@ LLFloaterRegionRestarting::LLFloaterRegionRestarting(const LLSD& key) :
LLEventTimer(1)
, mRestartSeconds(NULL)
, mSeconds(key["SECONDS"].asInteger())
, mName(key.has("NAME") ? key["NAME"].asString() : gAgent.getRegion()->getName()) // <alchemy/>
, mShakeIterations()
, mShakeMagnitude()
{
//buildFromFile("floater_region_restarting.xml");
LLUICtrlFactory::getInstance()->buildFloater(this, "floater_region_restarting.xml");
mName = key.has("NAME") ? key["NAME"].asString() : gAgent.getRegion()->getName(); // <alchemy/>
center();
}