Fix the Login Panel such that it persists until a successful login and maintains ui values between failed logins

When the login panel used to die, it now hides instead, we only truly kill it upon successful login.
Much of the opening and setting behaviors have been cleaned up to ensure fields are autofilled by the viewer without any user action once
Everything else like changing saved logins will still work the same.
This commit is contained in:
Inusaito Sayori
2014-02-02 16:45:37 -05:00
parent 7341ad5e6e
commit af58636c7c
6 changed files with 58 additions and 157 deletions

View File

@@ -135,13 +135,6 @@ void LLProgressView::revealIntroPanel()
gIdleCallbacks.addFunction(onIdle, this);
}
void LLProgressView::abortShowProgress()
{
mFadeFromLoginTimer.stop();
LLPanelLogin::close();
gIdleCallbacks.deleteFunction(onIdle, this);
}
void LLProgressView::setStartupComplete()
{
mStartupComplete = true;
@@ -334,7 +327,7 @@ void LLProgressView::onIdle(void* user_data)
self->mFadeFromLoginTimer.getElapsedTimeF32() > FADE_TO_WORLD_TIME)
{
self->mFadeFromLoginTimer.stop();
LLPanelLogin::close();
LLPanelLogin::hide();
// Nothing to do anymore.
gIdleCallbacks.deleteFunction(onIdle, user_data);