WENG-1470 (Partial) Secondlife Login Screen Redesign - fixed bug with favorites button not being enabled even though Home was present in list
parent
3c6e5d4a11
commit
0ea82ffbcc
|
|
@ -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 );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue