From: rnv Date: Wed, 8 Aug 2012 08:48:22 +0000 (+0000) Subject: Fix for the issue "0021779: [CEA 614] Ctrl +C with Salome Help ". X-Git-Tag: V6_6_0a1~53 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ea56c4eabb82de488b773bef00720ff5b7a93634;p=modules%2Fgui.git Fix for the issue "0021779: [CEA 614] Ctrl +C with Salome Help ". --- diff --git a/src/Qtx/QtxWebBrowser.cxx b/src/Qtx/QtxWebBrowser.cxx index 79e34bc8c..abd715030 100644 --- a/src/Qtx/QtxWebBrowser.cxx +++ b/src/Qtx/QtxWebBrowser.cxx @@ -154,6 +154,12 @@ QtxWebBrowser::QtxWebBrowser() : QMainWindow( 0 ) QWidget* frame = new QWidget( this ); myWebView = new QWebView( frame ); + + QAction *copyAction = myWebView->pageAction(QWebPage::Copy); + copyAction->setShortcut(QKeySequence::Copy); + myWebView->addAction(copyAction); + + myWebView->page()->setLinkDelegationPolicy( QWebPage::DelegateAllLinks ); myFindPanel = new QtxSearchTool( frame, myWebView, QtxSearchTool::Basic | QtxSearchTool::Case | QtxSearchTool::Wrap,