Salome HOME
Merge branch 'V8_3_asterstudy' into V8_3_BR
[modules/gui.git] / src / PyViewer / PyViewer_ViewWindow.cxx
index a9e6c79c2a040c9690c827ecd7595f818f9f0b92..bb8320a115edd60f71b1087ac67f2c3c52096119 100644 (file)
@@ -190,7 +190,7 @@ PyViewer_ViewWindow::PyViewer_ViewWindow( SUIT_Desktop* desktop ) :
                           resMgr->loadPixmap( "PyViewer", tr( "ICON_REPLACE" ) ),
                           tr( "ACT_REPLACE" ), 0, this );
   action->setStatusTip( tr( "DSC_REPLACE" ) );
-  action->setShortcut( QKeySequence::Replace );
+  action->setShortcuts( QList<QKeySequence>() << QKeySequence( "Ctrl+H" ) << QKeySequence( QKeySequence::Replace ) );
   action->setShortcutContext( Qt::WidgetShortcut );
   connect( action, SIGNAL( triggered( bool ) ), myEditor, SLOT( replace() ) );
   toolMgr()->registerAction( action, ReplaceId );