Skip to content
Snippets Groups Projects
Commit 20e78bb8 authored by maxim_productengine's avatar maxim_productengine
Browse files

SL-9780 FIXED [EEP] Environment gets stuck on region environment after closing...

SL-9780 FIXED [EEP] Environment gets stuck on region environment after closing Region/Estate floater
parent ac184e1c
No related branches found
No related tags found
No related merge requests found
......@@ -170,7 +170,7 @@ void LLPanelEnvironmentInfo::onVisibilityChange(BOOL new_visibility)
}
gIdleCallbacks.deleteFunction(onIdlePlay, this);
LLFloaterEditExtDayCycle *dayeditor = getEditFloater();
LLFloaterEditExtDayCycle *dayeditor = getEditFloater(false);
if (mCommitConnection.connected())
mCommitConnection.disconnect();
......@@ -179,7 +179,10 @@ void LLPanelEnvironmentInfo::onVisibilityChange(BOOL new_visibility)
if (dayeditor->isDirty())
dayeditor->refresh();
else
{
dayeditor->closeFloater();
mEditFloater.markDead();
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment