On second thought, clicking a name editor should open up the profile, too
The initial thinking behind this decision was that people may want to select, if they do, they can right click for this very rare use case.
This commit is contained in:
@@ -35,7 +35,9 @@
|
||||
#include "llnameui.h"
|
||||
|
||||
#include "llagentdata.h"
|
||||
#include "llavataractions.h"
|
||||
#include "llavatarnamecache.h"
|
||||
#include "llgroupactions.h"
|
||||
#include "lltrans.h"
|
||||
|
||||
#include "rlvhandler.h"
|
||||
@@ -126,4 +128,14 @@ void LLNameUI::refreshAll(const LLUUID& id, const std::string& full_name, bool i
|
||||
{
|
||||
box->refresh(id, full_name, is_group);
|
||||
}
|
||||
}
|
||||
|
||||
void LLNameUI::showProfile()
|
||||
{
|
||||
if (!mAllowInteract) return;
|
||||
|
||||
if (mIsGroup)
|
||||
LLGroupActions::show(mNameID);
|
||||
else
|
||||
LLAvatarActions::showProfile(mNameID);
|
||||
}
|
||||
Reference in New Issue
Block a user