diff options
author | andreykproductengine <akleshchev@productengine.com> | 2016-05-31 16:56:45 +0300 |
---|---|---|
committer | andreykproductengine <akleshchev@productengine.com> | 2016-05-31 16:56:45 +0300 |
commit | f282c31f0107f05ae9e943d2fdda516cdaf3f3fa (patch) | |
tree | b16d30cbb23f873cef02d058f8cbe4b97e762ab8 /indra | |
parent | 0d5edb03a226a62bb416ddca250e4f1f789f56fd (diff) |
MAINT-2129 One more Block button
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llinspectremoteobject.cpp | 2 |
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)); } ////////////////////////////////////////////////////////////////////////////// |