Add flag to enable line editor style left clicks on name editors

Enable this flag on the profile name editor, but not the partner one.
This commit is contained in:
Liru Færs
2019-10-11 15:38:38 -04:00
parent c5f714def8
commit b5afce0bbd
3 changed files with 7 additions and 2 deletions

View File

@@ -40,12 +40,14 @@ class LLNameEditor
: public LLLineEditor
, public LLNameUI
{
bool mClickForProfile;
public:
LLNameEditor(const std::string& name, const LLRect& rect,
const LLUUID& name_id = LLUUID::null,
bool is_group = false,
const std::string& loading = LLStringUtil::null,
bool rlv_sensitive = false,
bool click_for_profile = true,
const LLFontGL* glfont = nullptr,
S32 max_text_length = 254);