diff options
| author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2014-07-23 17:49:43 +0300 |
|---|---|---|
| committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2014-07-23 17:49:43 +0300 |
| commit | 7ef544a07f6f23c553e94b10931dc14e2a0f26b2 (patch) | |
| tree | 943b3802d2a7d2be7410a8132716f7b08aca1e25 /indra/newview | |
| parent | 01ad2bcd04a4d35b38e2d23487f20fee9ba9975d (diff) | |
MAINT-1849 FIXED Disable 'Rename' menu item when multiple items are selected.
Diffstat (limited to 'indra/newview')
| -rwxr-xr-x | indra/newview/llpanelobjectinventory.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llpanelobjectinventory.cpp b/indra/newview/llpanelobjectinventory.cpp index 6b74d90708..6354b5a02b 100755 --- a/indra/newview/llpanelobjectinventory.cpp +++ b/indra/newview/llpanelobjectinventory.cpp @@ -698,6 +698,10 @@ void LLTaskInvFVBridge::buildContextMenu(LLMenuGL& menu, U32 flags) if(isItemRenameable()) { items.push_back(std::string("Task Rename")); + if ((flags & FIRST_SELECTED_ITEM) == 0) + { + disabled_items.push_back(std::string("Task Rename")); + } } if(isItemRemovable()) { |
