EXT-7890 FIXED "Open" on folder of in-world contents does nothing

Removed "open" menu option, to be consistent with right-click options on inventory folders elsewhere.
meow-7.2.2
Loren Shih 2010-06-16 17:49:04 -04:00
parent 67185e19b4
commit 08515a8eb3
1 changed files with 7 additions and 1 deletions

View File

@ -725,6 +725,7 @@ public:
EDragAndDropType cargo_type,
void* cargo_data);
virtual BOOL canOpenItem() const { return TRUE; }
virtual void openItem();
};
LLTaskCategoryBridge::LLTaskCategoryBridge(
@ -759,7 +760,8 @@ void LLTaskCategoryBridge::buildContextMenu(LLMenuGL& menu, U32 flags)
{
std::vector<std::string> items;
std::vector<std::string> disabled_items;
items.push_back(std::string("Task Open"));
items.push_back(std::string("--no options--"));
disabled_items.push_back(std::string("--no options--"));
hide_context_entries(menu, items, disabled_items);
}
@ -770,6 +772,10 @@ BOOL LLTaskCategoryBridge::hasChildren() const
return FALSE;
}
void LLTaskCategoryBridge::openItem()
{
}
BOOL LLTaskCategoryBridge::startDrag(EDragAndDropType* type, LLUUID* id) const
{
//llinfos << "LLTaskInvFVBridge::startDrag()" << llendl;