Skip to content

Commit 6104410

Browse files
author
wonder
committedOct 30, 2010
Plugin manager: set focus to the filter edit box so that it is possible to search immediately after opening the dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk@14456 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 987db04 commit 6104410

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/app/qgspluginmanager.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,15 @@ QgsPluginManager::QgsPluginManager( QgsPythonUtils* pythonUtils, QWidget * paren
8585
//
8686
QPushButton * btnSelectAll = new QPushButton( tr( "&Select All" ) );
8787
QPushButton * btnClearAll = new QPushButton( tr( "&Clear All" ) );
88-
btnSelectAll->setDefault( true );
8988
buttonBox->addButton( btnSelectAll, QDialogButtonBox::ActionRole );
9089
buttonBox->addButton( btnClearAll, QDialogButtonBox::ActionRole );
9190
// connect the slot up to catch when a bookmark is deleted
9291
connect( btnSelectAll, SIGNAL( clicked() ), this, SLOT( selectAll() ) );
9392
// connect the slot up to catch when a bookmark is zoomed to
9493
connect( btnClearAll, SIGNAL( clicked() ), this, SLOT( clearAll() ) );
9594

95+
leFilter->setFocus( Qt::MouseFocusReason );
96+
9697
qRegisterMetaType<QgsDetailedItemData>();
9798

9899
// disable plugin installer button for now until we resolve some problems [MD]

0 commit comments

Comments
 (0)
Please sign in to comment.