Name UI flag to disallow user interaction

Also bypass setting name text for null ID
This commit is contained in:
Liru Færs
2019-10-09 20:07:29 -04:00
parent b132578692
commit 0b7061afb7
4 changed files with 13 additions and 2 deletions

View File

@@ -58,6 +58,8 @@ LLNameEditor::LLNameEditor(const std::string& name, const LLRect& rect,
// virtual
BOOL LLNameEditor::handleRightMouseDown(S32 x, S32 y, MASK mask)
{
if (!mAllowInteract) return;
bool simple_menu = mContextMenuHandle.get()->getName() != "rclickmenu";
std::string new_menu;
// Singu TODO: Generic menus for groups