aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterfriends.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:56 -0500
committerJacek Antonelli2008-08-15 23:44:56 -0500
commitc07901e29ed545bbb02e3bddf148fe1104b94e9f (patch)
treef1ada64ce834acd7d92a425efb96c4b86bcf16b1 /linden/indra/newview/llfloaterfriends.cpp
parentSecond Life viewer sources 1.15.0.2 (diff)
downloadmeta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.zip
meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.gz
meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.bz2
meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.xz
Second Life viewer sources 1.15.1.3
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloaterfriends.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloaterfriends.cpp b/linden/indra/newview/llfloaterfriends.cpp
index 8d39890..d01a24b 100644
--- a/linden/indra/newview/llfloaterfriends.cpp
+++ b/linden/indra/newview/llfloaterfriends.cpp
@@ -287,6 +287,7 @@ void LLFloaterFriends::refreshRightsChangeList(U8 state)
287 bool can_change_online_multiple = true; 287 bool can_change_online_multiple = true;
288 bool can_change_map_multiple = true; 288 bool can_change_map_multiple = true;
289 LLTextBox* processing_label = LLUICtrlFactory::getTextBoxByName(this, "process_rights_label"); 289 LLTextBox* processing_label = LLUICtrlFactory::getTextBoxByName(this, "process_rights_label");
290
290 if(!mAllowRightsChange) 291 if(!mAllowRightsChange)
291 { 292 {
292 if(processing_label) 293 if(processing_label)
@@ -302,9 +303,10 @@ void LLFloaterFriends::refreshRightsChangeList(U8 state)
302 processing_label->setVisible(false); 303 processing_label->setVisible(false);
303 } 304 }
304 } 305 }
306
305 if(state == 1) 307 if(state == 1)
306 { 308 {
307 if(!friend_status->isOnline()) 309 if(friend_status && !friend_status->isOnline())
308 { 310 {
309 childSetEnabled("offer_teleport_btn", false); 311 childSetEnabled("offer_teleport_btn", false);
310 } 312 }