diff options
author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2014-02-05 11:43:09 +0200 |
---|---|---|
committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2014-02-05 11:43:09 +0200 |
commit | 3cb2dc62753931d8e7488ad2f6a3c7ebca76ab08 (patch) | |
tree | 872ba3da2d35e8fd52a43e4a60a99f5b9654d689 /indra/newview | |
parent | 01535d08087e18e18bf7a3cf83687eb3afc365ff (diff) |
MAINT-3484 FIXED Disable menu item if transcript doesn't exist.
Diffstat (limited to 'indra/newview')
-rwxr-xr-x | indra/newview/llfloaterimcontainer.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llfloaterimcontainer.cpp b/indra/newview/llfloaterimcontainer.cpp index b5aa309066..444d3d1f08 100755 --- a/indra/newview/llfloaterimcontainer.cpp +++ b/indra/newview/llfloaterimcontainer.cpp @@ -1320,7 +1320,12 @@ bool LLFloaterIMContainer::enableContextMenuItem(const std::string& item, uuid_v // Extract the single select info bool is_single_select = (uuids.size() == 1); const LLUUID& single_id = uuids.front(); - + + if ("can_chat_history" == item && is_single_select) + { + return LLLogChat::isTranscriptExist(uuids.front(),false); + } + // Handle options that are applicable to all including the user agent if ("can_view_profile" == item) { |