diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloaterfriends.cpp | 4 |
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 | } |