From ea56c4eabb82de488b773bef00720ff5b7a93634 Mon Sep 17 00:00:00 2001 From: rnv Date: Wed, 8 Aug 2012 08:48:22 +0000 Subject: [PATCH] Fix for the issue "0021779: [CEA 614] Ctrl +C with Salome Help ". --- src/Qtx/QtxWebBrowser.cxx | 6 ++++++ 1 file changed, 6 insertions(+) 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, -- 2.39.2