summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Zaporozhan <dzaporozhan@productengine.com>2010-02-18 12:49:22 +0200
committerDmitry Zaporozhan <dzaporozhan@productengine.com>2010-02-18 12:49:22 +0200
commitccdfb934edad8ee268f4ce84e1d5f30d6025532f (patch)
tree9a4927d8f3a2a91b6154eecdedb881a3f33a1c75
parenta4a2b148c2b7c051de7ab04d7b05c727064d6e42 (diff)
Fixed low bug EXT-5482 - "Call" item is enabled for "none" item in groups list
--HG-- branch : product-engine
-rw-r--r--indra/newview/llgrouplist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llgrouplist.cpp b/indra/newview/llgrouplist.cpp
index 1ed1113f4d..bcfb516b81 100644
--- a/indra/newview/llgrouplist.cpp
+++ b/indra/newview/llgrouplist.cpp
@@ -287,7 +287,7 @@ bool LLGroupList::onContextMenuItemEnable(const LLSD& userdata)
return gAgent.getGroupID() != selected_group_id;
if (userdata.asString() == "call")
- return LLVoiceClient::voiceEnabled()&&gVoiceClient->voiceWorking();
+ return real_group_selected && LLVoiceClient::voiceEnabled()&&gVoiceClient->voiceWorking();
return real_group_selected;
}