From 32afe6465f230fc0835218af3075dc88dc03a721 Mon Sep 17 00:00:00 2001 From: san Date: Thu, 28 Oct 2010 12:17:29 +0000 Subject: [PATCH] Browse button can recieve input focus --- src/Qtx/QtxPathEdit.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Qtx/QtxPathEdit.cxx b/src/Qtx/QtxPathEdit.cxx index bddda6728..8c3c7b18d 100644 --- a/src/Qtx/QtxPathEdit.cxx +++ b/src/Qtx/QtxPathEdit.cxx @@ -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 ) ) ); -- 2.39.2