diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-07-26 17:53:48 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-07-26 17:53:48 -0400 |
commit | 4a361046f32a685408ddbc1e4a3138946c448ff1 (patch) | |
tree | e9fd02273346a23eea02728069bc576d5a0874a8 /indra/newview/llpanelobjectinventory.cpp | |
parent | 6ad892aa95b50a4bbcd369657d47d428ee248f96 (diff) |
EXT-8229 FIXED Add "--no options--" automatically instead of special casing for it in right-click menus
Changed logic so that the menu is post-processed and, at that time, nooptions is added if the menu is seen to be empty.
Diffstat (limited to 'indra/newview/llpanelobjectinventory.cpp')
-rw-r--r-- | indra/newview/llpanelobjectinventory.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/newview/llpanelobjectinventory.cpp b/indra/newview/llpanelobjectinventory.cpp index ca1361c84b..116e5ba4cb 100644 --- a/indra/newview/llpanelobjectinventory.cpp +++ b/indra/newview/llpanelobjectinventory.cpp @@ -750,8 +750,6 @@ void LLTaskCategoryBridge::buildContextMenu(LLMenuGL& menu, U32 flags) { std::vector<std::string> items; std::vector<std::string> disabled_items; - items.push_back(std::string("--no options--")); - disabled_items.push_back(std::string("--no options--")); hide_context_entries(menu, items, disabled_items); } |