From: mzn Date: Mon, 31 Mar 2008 10:09:51 +0000 (+0000) Subject: Fix for bug IPAL19302 (Qt4 porting. Hot key for Preferences can be transferred to... X-Git-Tag: V5_0_0~27 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c3831d2c781c85303cc924b7f4749687af499bbe;p=modules%2Fgui.git Fix for bug IPAL19302 (Qt4 porting. Hot key for Preferences can be transferred to anether key). See the first comment. --- diff --git a/src/ObjBrowser/OB_Browser.cxx b/src/ObjBrowser/OB_Browser.cxx index af5b48288..3d6162f87 100755 --- a/src/ObjBrowser/OB_Browser.cxx +++ b/src/ObjBrowser/OB_Browser.cxx @@ -980,7 +980,7 @@ void OB_Browser::createPopupMenu( QMenu* menu ) if ( isSearchToolEnabled() ) { menu->addSeparator(); - menu->addAction( tr( "MEN_FIND" ), searchTool(), SLOT( find() ) ); + menu->addAction( tr( "MEN_FIND" ), searchTool(), SLOT( find() ), QKeySequence(Qt::CTRL + Qt::Key_F) ); menu->addSeparator(); } }