diff options
Diffstat (limited to 'linden/indra/newview/llfloatermap.cpp')
-rw-r--r-- | linden/indra/newview/llfloatermap.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloatermap.cpp b/linden/indra/newview/llfloatermap.cpp index 256c52e..31e57a0 100644 --- a/linden/indra/newview/llfloatermap.cpp +++ b/linden/indra/newview/llfloatermap.cpp | |||
@@ -520,10 +520,21 @@ void LLFloaterMap::toggleButtons() | |||
520 | childSetEnabled("freeze_btn", enable_estate); | 520 | childSetEnabled("freeze_btn", enable_estate); |
521 | childSetEnabled("eject_btn", enable_estate); | 521 | childSetEnabled("eject_btn", enable_estate); |
522 | childSetEnabled("mute_btn", enable); | 522 | childSetEnabled("mute_btn", enable); |
523 | childSetEnabled("unmute_btn", enable_unmute); | ||
524 | childSetEnabled("ar_btn", enable); | 523 | childSetEnabled("ar_btn", enable); |
525 | childSetEnabled("estate_eject_btn", enable_estate); | 524 | childSetEnabled("estate_eject_btn", enable_estate); |
526 | 525 | ||
526 | if (enable_unmute) | ||
527 | { | ||
528 | childSetVisible("mute_btn", false); | ||
529 | childSetEnabled("unmute_btn", true); | ||
530 | childSetVisible("unmute_btn", true); | ||
531 | } | ||
532 | else | ||
533 | { | ||
534 | childSetVisible("mute_btn", true); | ||
535 | childSetVisible("unmute_btn", false); | ||
536 | } | ||
537 | |||
527 | // [RLVa:KB] - Imprudence-1.2.0 | 538 | // [RLVa:KB] - Imprudence-1.2.0 |
528 | // Bit clumsy, but this way the RLV stuff is in its own separate block and keeps the code above clean - Kitty | 539 | // Bit clumsy, but this way the RLV stuff is in its own separate block and keeps the code above clean - Kitty |
529 | if ( (rlv_handler_t::isEnabled()) && (mSelectedAvatar.notNull()) ) | 540 | if ( (rlv_handler_t::isEnabled()) && (mSelectedAvatar.notNull()) ) |