diff options
| author | Richard Linden <none@none> | 2011-03-28 17:38:54 -0700 |
|---|---|---|
| committer | Richard Linden <none@none> | 2011-03-28 17:38:54 -0700 |
| commit | 84b179b0bf254ae039dfdba330d25ac2df1c0a67 (patch) | |
| tree | 8e35dad1a88b3538722ee3d68891fa6ef9fdf779 /indra/newview/llviewermedia.cpp | |
| parent | 5b316df2249fc62c1e6a4f089b9726c4e62f23e0 (diff) | |
| parent | d597efc0f365fa07de9b7c0641dc4297466bfae5 (diff) | |
Automated merge with file:///F:\code\viewer-autobuild2010
Diffstat (limited to 'indra/newview/llviewermedia.cpp')
| -rw-r--r-- | indra/newview/llviewermedia.cpp | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp index 499165135a..037e22584f 100644 --- a/indra/newview/llviewermedia.cpp +++ b/indra/newview/llviewermedia.cpp @@ -2543,23 +2543,7 @@ bool LLViewerMediaImpl::handleKeyHere(KEY key, MASK mask) // Menu keys should be handled by the menu system and not passed to UI elements, but this is how LLTextEditor and LLLineEditor do it... if( MASK_CONTROL & mask ) { - if( 'C' == key ) - { - mMediaSource->copy(); - result = true; - } - else - if( 'V' == key ) - { - mMediaSource->paste(); - result = true; - } - else - if( 'X' == key ) - { - mMediaSource->cut(); - result = true; - } + result = true; } if(!result) @@ -3000,7 +2984,8 @@ void LLViewerMediaImpl::handleMediaEvent(LLPluginClassMedia* plugin, LLPluginCla { LL_DEBUGS("Media") << "MEDIA_EVENT_CLICK_LINK_NOFOLLOW, uri is: " << plugin->getClickURL() << LL_ENDL; std::string url = plugin->getClickURL(); - LLURLDispatcher::dispatch(url, NULL, mTrustedBrowser); + std::string nav_type = plugin->getClickNavType(); + LLURLDispatcher::dispatch(url, nav_type, NULL, mTrustedBrowser); } break; case MEDIA_EVENT_CLICK_LINK_HREF: |
