summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2016-05-31 16:56:45 +0300
committerandreykproductengine <akleshchev@productengine.com>2016-05-31 16:56:45 +0300
commitf282c31f0107f05ae9e943d2fdda516cdaf3f3fa (patch)
treeb16d30cbb23f873cef02d058f8cbe4b97e762ab8 /indra
parent0d5edb03a226a62bb416ddca250e4f1f789f56fd (diff)
MAINT-2129 One more Block button
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llinspectremoteobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinspectremoteobject.cpp b/indra/newview/llinspectremoteobject.cpp
index a12ec390af..b64df2bd47 100644
--- a/indra/newview/llinspectremoteobject.cpp
+++ b/indra/newview/llinspectremoteobject.cpp
@@ -181,7 +181,7 @@ void LLInspectRemoteObject::update()
getChild<LLUICtrl>("map_btn")->setEnabled(! mSLurl.empty());
// disable the Block button if we don't have the object ID (will this ever happen?)
- getChild<LLUICtrl>("block_btn")->setEnabled(! mObjectID.isNull());
+ getChild<LLUICtrl>("block_btn")->setEnabled(!mObjectID.isNull() && !LLMuteList::getInstance()->isMuted(mObjectID));
}
//////////////////////////////////////////////////////////////////////////////