]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix for the issue "0021779: [CEA 614] Ctrl +C with Salome Help ".
authorrnv <rnv@opencascade.com>
Wed, 8 Aug 2012 08:48:22 +0000 (08:48 +0000)
committerrnv <rnv@opencascade.com>
Wed, 8 Aug 2012 08:48:22 +0000 (08:48 +0000)
src/Qtx/QtxWebBrowser.cxx

index 79e34bc8ca9e4b0ca9f0e8fdf89a2fea9c30da2d..abd715030445777e665c32ab935854c40762666c 100644 (file)
@@ -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,