// static void LLPanelLogin::onLoginComboLostFocus(LLFocusableElement* fe, void*) { if (sInstance) { LLComboBox* combo = sInstance->getChild<LLComboBox>("name_combo"); if(fe == combo && combo->isTextDirty()) { clearPassword(); combo->resetTextDirty(); } } }
// 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); } } }