Possible Fix for Issue 1499: Login screen disappears on non-SL grids after logging failure

Also should fix when this would happen on poor/dead connections.
This commit is contained in:
Lirusaito
2014-04-27 18:50:37 -04:00
parent 74984b5a3c
commit 0f1ecf66ab

View File

@@ -462,6 +462,7 @@ void LLPanelLogin::giveFocus()
{
if( sInstance )
{
if (!sInstance->getVisible()) sInstance->setVisible(true);
// Grab focus and move cursor to first blank input field
std::string username = sInstance->getChild<LLUICtrl>("username_combo")->getValue().asString();
std::string pass = sInstance->getChild<LLUICtrl>("password_edit")->getValue().asString();