aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloatermap.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-10-13 11:46:35 -0700
committerMcCabe Maxsted2009-10-13 11:46:35 -0700
commitc48fd00d2069a48478f4fa5da8c303444a409cfe (patch)
treec399513ebc186db82eb0f8b637ce69c8f27bb91d /linden/indra/newview/llfloatermap.cpp
parentParcel highlighting when selecting a name in radar is less buggy (diff)
downloadmeta-impy-c48fd00d2069a48478f4fa5da8c303444a409cfe.zip
meta-impy-c48fd00d2069a48478f4fa5da8c303444a409cfe.tar.gz
meta-impy-c48fd00d2069a48478f4fa5da8c303444a409cfe.tar.bz2
meta-impy-c48fd00d2069a48478f4fa5da8c303444a409cfe.tar.xz
Combine the two mini-map mute buttons into one
Diffstat (limited to 'linden/indra/newview/llfloatermap.cpp')
-rw-r--r--linden/indra/newview/llfloatermap.cpp13
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()) )