]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Browse button can recieve input focus
authorsan <san@opencascade.com>
Thu, 28 Oct 2010 12:17:29 +0000 (12:17 +0000)
committersan <san@opencascade.com>
Thu, 28 Oct 2010 12:17:29 +0000 (12:17 +0000)
src/Qtx/QtxPathEdit.cxx

index bddda6728f044404c26062956c2daadfc95cb8cc..8c3c7b18d1a09583deb2efea8de0c1447d42ff72 100644 (file)
@@ -250,6 +250,7 @@ void QtxPathEdit::initialize()
 
   QToolButton* browse = new QToolButton( this );
   browse->setIcon( QPixmap( browse_icon ) );
+  browse->setFocusPolicy( Qt::StrongFocus );
   base->addWidget( browse );
 
   connect( browse, SIGNAL( clicked( bool ) ), this, SLOT( onBrowse( bool ) ) );