Exemplo n.º 1
0
// static
void LLPanelLogin::onLoginComboLostFocus(LLFocusableElement* fe, void*)
{
	if (sInstance)
	{
		LLComboBox* combo = sInstance->getChild<LLComboBox>("name_combo");
		if(fe == combo && combo->isTextDirty())
		{
			clearPassword();
			combo->resetTextDirty();
		}
	}
}
Exemplo n.º 2
0
// static
void LLPanelLogin::onLoginComboLostFocus(LLFocusableElement* fe, void*)
{
	if (sInstance)
	{
		LLComboBox* combo = sInstance->getChild<LLComboBox>("first_name_combo");
		if(fe == combo)
		{
			if (combo->isTextDirty())
			{
				clearPassword();
			}
			onSelectLoginEntry(combo, NULL);
		}
	}
}