We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7448f2 commit cf57624Copy full SHA for cf57624
1 file changed
indra/newview/llviewermenu.cpp
@@ -9668,7 +9668,7 @@ class ListIsNearby final : public view_listener_t
9668
{
9669
const auto& data = userdata["data"];
9670
const auto& id = active_owner_or_id(data);
9671
- gMenuHolder->findControl(userdata["control"].asString())->setValue(!data.asBoolean() && LFIDBearer::getActiveType() == LFIDBearer::OBJECT ? !!gObjectList.findObject(id) : is_nearby(id));
+ gMenuHolder->findControl(userdata["control"].asString())->setValue((LFIDBearer::getActiveType() == LFIDBearer::OBJECT && data.asBoolean()) ? !!gObjectList.findObject(id) : is_nearby(id));
9672
return true;
9673
}
9674
};
0 commit comments