diff options
Diffstat (limited to 'indra/newview/llpanellogin.cpp')
-rwxr-xr-x | indra/newview/llpanellogin.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index 95c95730ec..cf9956d3e9 100755 --- a/indra/newview/llpanellogin.cpp +++ b/indra/newview/llpanellogin.cpp @@ -1022,6 +1022,12 @@ void LLPanelLogin::updateLoginButtons() // last login button always enabled for this case last_login_btn->setEnabled(true); + // double check status of favorites combo + LLComboBox* favorites_combo = getChild<LLComboBox>("start_location_combo"); + unsigned int num_items = favorites_combo->getItemCount(); + if ( num_items > 0 ) + mFavoriteSelected = true; + // only turn on favorites login button if one is selected fav_btn->setEnabled( mFavoriteSelected ); |