// static void LLPanelLogin::setLoginMRUEnabled(bool enabled) { if (!sInstance) { return; } LLComboBox* combo = sInstance->getChild<LLComboBox>("name_combo"); if (!enabled) combo->removeall(); combo->setButtonVisible(enabled); combo->setEnabled(enabled && combo->getItemCount() != 0); }